These sponsors have paid to be placed here and beyond that I do not have any affiliation with them, the TikTok-Bot repo will always be free and open-source. If you wish to be a sponsor of this project, contact me@vd7.io
This project is sponsored by SadCaptcha - Solving TikTok Captchas for bot developers and web scrapers.
Coded a TikTok automation bot to:
- View videos
- Send Likes
- Gain Followers
I created this for my business Scorphx to take advantage of TikTok's "viral content" algorithm during the most viral time for my business (2022 World Cup): generate rapid engagement, promote the concept kits I was selling, and direct mass traffic to link-in-bio i.e. my online store.
Selenium
library- controls a web browser and navigate to TikTok, where it allows user to select from a number of different modes that perform different actions.- Uses
pyfiglet
library to display banner message = visually appealing. strftime
function- formats into user-friendly readable elapsed time.
- Clone repo:
git clone https://github.com/vdutts7/tiktok-bot
cd tiktok-bot
- Install modules:
pip install -r scorphx-algo-reqs.txt
- Run the
.py
file:python the-scorphx-algo.py
*from POV of a non-coder looking for absolute convenience
Pros
- Banner message = visually appealing.
- Includes functions to clear/title text in terminal = easy to read program output and see current status.
- Checks if current ChromeDriver version exists. If it doesn't, downloads it automatically.
- Several try and except blocks to catch exception i.e. minimize program crashes.
strftime
function --> formats into user-friendly readable elapsed time.
Cons
- Code uses
Selenium
to control a web browser, which can be unreliable and prone to breaking when websites change.- If TikTok makes any important updates, code may break.
- Code uses
chromedriver_autoinstaller
library to check if the current version of ChromeDriver exists and, if it doesn't, download it automatically. Potential compatibility issues. - Does not include error handling for invalid input i.e. if user enters a value that is not an integer when prompted to select a mode. This could result in the program crashing if the user enters invalid input.