Skip to content

SizaDev/TikTok-Views-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TikTok Video View Bot

Introduction

This Python script is designed to send simulated view requests to the TikTok API for a specified video. It achieves this by generating randomized device parameters and headers for each request, and it can operate using a list of proxies to enhance its effectiveness and distribution.

Requirements

The script requires Python 3.7 or higher and the following libraries:

  • aiohttp: For making asynchronous HTTP requests.
  • aiofiles: For asynchronously reading files (like the proxies list).
  • uuid: To generate unique identifiers.
  • random, os, time, and sys: Standard libraries used for different functionalities.

To install the required libraries, you can use the following command:

pip install aiohttp aiofiles

Usage Instructions

  1. Prepare the Proxies:

    • If you intend to use proxies, create a text file named proxies.txt in the same directory as the script. Each line in this file should contain one proxy in the format http://user:pass@host:port or just http://host:port if no authentication is required.
  2. Run the Script:

    • Execute the script in your Python environment. You will be prompted to enter the video ID, whether to use proxies, and how many views you want to simulate.
    python viewbot.py
  3. Provide Required Input:

    • You will need to input:
      • Video ID: The ID of the TikTok video you wish to simulate views for.
      • Proxies: Input yes if you want to use proxies; input no otherwise.
      • Views Count: Specify how many views you want to simulate (for instance, 1000).
  4. Monitoring Output:

    • The script will print the results of the requests. If a request is successful, it will output the corresponding JSON response from the TikTok API.

Important Notes

  • Ethical Usage: This script is meant for educational and testing purposes only. Please ensure that you comply with TikTok's terms of service and guidelines. Misuse of this script can lead to account bans or other legal ramifications.

  • Rate Limiting: Be aware that sending a large number of requests in a short period may trigger rate limiting from TikTok servers. Use responsibly.

  • Concurrency Control: The script uses asynchronous programming and thread management to control how many simultaneous requests are sent, ensuring that the script runs efficiently.

  • Customization: You can customize user-agent strings, device models, and other parameters in the script for different testing scenarios.

Contributing

If you would like to contribute to this project or suggest enhancements or fixes, please feel free to open an issue or submit a pull request.

License

This project is intended for educational purposes. The author assumes no responsibility for any misuse of this script, nor for violations of TikTok's terms of service.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages