TikTok-Captcha-Solver

This project automates the login process on TikTok using Selenium WebDriver. It also includes functionality to handle captchas using the ocacaptcha library.

MIT License

Downloads
193
Stars
1

TikTok Captcha Solver

This project automates the login process on TikTok using Selenium WebDriver. It also includes functionality to handle captchas using the ocacaptcha library.

Features

  • Automated login to TikTok
  • Handling of cookies banner
  • Automatic filling of login credentials
  • Solving captchas using oca_solve_captcha function from ocacaptcha library

Prerequisites

  • Python >= 3.11
  • ChromeDriver
  • A valid API key for ocacaptcha

Installation

  1. Clone the repository:
    git clone https://github.com/OneClickAction/TikTok-Captcha-Solver.git
    cd TikTok-Captcha-Solver
    
    
  2. Install the required Python packages:
    pip install selenium ocacaptcha requests
    
    
  3. Download and install ChromeDriver compatible with your version of Chrome, and place it in your desired directory.

Usage

  1. Update the script with your own login credentials and API key:
    my_email = "[email protected]"
    my_password = "your_password"
    user_api_key = "your_ocacaptcha_api_key"
    
    
  2. Update the ChromeDriver path:
    service = Service(executable_path='/path/to/your/chromedriver')
    
    
    

Dependencies

  • Selenium
  • ocacaptcha
  • Requests

Contact

For any questions or issues, please contact:

Package Rankings
Top 18.62% on Pypi.org
Related Projects