Skip to content

Latest commit

 

History

History
66 lines (54 loc) · 1.48 KB

File metadata and controls

66 lines (54 loc) · 1.48 KB

Python Project Setup Guide

Prerequisites

Ensure you have the hearting installed on your system:

  1. Python
  2. Google Chrome latest version
  3. Ensure Google Chrome Path - C:\Program Files\Google\Chrome\Application\chrome.exe
  4. Bot UI (https://github.com/gold-mouse/tiktok-bot-admin.git)

Install Python

Download and install Python from the official Python website.

  • During installation, check the option Add Python to PATH.
  • Verify the installation with:
    python --version

Install pip (if not installed)

pip comes bundled with Python, but you can ensure it's updated with:

python -m ensurepip --default-pip
python -m pip install --upgrade pip

Getting Started

1. Clone the Repository

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

2. Install Dependencies

pip install -r requirements.txt

3. Run the Application

python main.py

Environment Variables

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

Note

If you faced bellow error:

ModuleNotFoundError: No module named 'pkg_resources'

You have to upgrade setuptools to latest version

pip install --upgrade setuptools