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
- Homepage: https://www.sadcaptcha.com/
- Email: info@toughdata.net
- Telegram @toughdata
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for tiktok_captcha_solver-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f45e0cbe34f459863ecd877a7936abfea55b0e88942a1a8b9aaa6461b52029dc |
|
MD5 | 649ad454f4e7fbd5cbf3dd8869cbf578 |
|
BLAKE2b-256 | 49eaa3426b33ea674f925a3915822a3d47132e0104e3ecd83d964d2eb7c04f18 |
Close
Hashes for tiktok_captcha_solver-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02b93b8e47fa2f9e28e4a0ed0e7268511dc99ec9132dcc50cdba0d2d5ba14a37 |
|
MD5 | d61c2517e3ab1a17e3f34da1535b3ab0 |
|
BLAKE2b-256 | fe8564c1a6849d3cb95fe218bd31fae58d4ef2c131bb383cc7866df07625bce1 |