Skip to main content

This package integrates with Selenium to solve any TikTok captcha in one line of code.

Project description

TikTok Captcha Solver API

This project is the SadCaptcha TikTok Captcha Solver API client. The purpose is to make integrating SadCaptcha into your selenium app as simple as one line of code.

Requirements

  • Python >= 3.10
  • Selenium properly installed and in PATH

Installation

This project will be available as a pip package soon. For now, just clone the repo and build it using the following commands:

git clone https://github.com/gbiz123/tiktok-captcha-solver
cd tiktok-captcha-solver
pip install -e .

Usage

Import the package, set up the SadCaptcha class, and call it whenever you need.

from sadcaptcha import SadCaptcha
import undetected_chromedriver as uc

driver = uc.Chrome(headless=False)
api_key = "YOUR_API_KEY_HERE"
sadcaptcha = SadCaptcha(driver, api_key)

# Selenium code that causes a TikTok captcha...

sadcaptcha.solve_captcha_if_present()

That's it!

Contact

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tiktok_captcha_solver-0.0.1.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

tiktok_captcha_solver-0.0.1-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page