Ensure you have the hearting installed on your system:
- Python
- Google Chrome latest version
- Ensure Google Chrome Path - C:\Program Files\Google\Chrome\Application\chrome.exe
- Bot UI (https://github.com/gold-mouse/tiktok-bot-admin.git)
Download and install Python from the official Python website.
- During installation, check the option Add Python to PATH.
- Verify the installation with:
python --version
pip comes bundled with Python, but you can ensure it's updated with:
python -m ensurepip --default-pip
python -m pip install --upgrade pip
If the project is hosted on a Git repository, clone it using:
git clone https://github.com/gold-mouse/tiktok-python-bot.git
cd tiktok-python-bot
pip install -r requirements.txt
python main.py
You can get BYPASSING_BOT_API_KEY from https://www.sadcaptcha.com/
Create a .env
file in the root directory and define them like this:
BYPASSING_BOT_API_KEY=YOUR_API_KEY
MIN_DELAY=3
MAX_DELAY=40
RETRYABLE_COUNT=3
PORT=5000
If you faced bellow error:
ModuleNotFoundError: No module named 'pkg_resources'
You have to upgrade setuptools to latest version
pip install --upgrade setuptools