Universal API to captcha solving services
Project description
Univeral API to captcha solving services.
Installation
pip install captcha-solver
Twocaptcha Backend Example
Service website is https://2captcha.com?from=3019071
from captcha_solver import CaptchaSolver
solver = CaptchaSolver('twocaptcha', api_key='2captcha.com API HERE')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))
Rucaptcha Backend Example
Service website is https://rucaptcha.com?from=3019071
from captcha_solver import CaptchaSolver
solver = CaptchaSolver('rucaptcha', api_key='RUCAPTCHA_KEY')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))
Browser Backend Example
from captcha_solver import CaptchaSolver
solver = CaptchaSolver('browser')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))
Antigate Backend Example
Service website is https://anti-captcha.com
from captcha_solver import CaptchaSolver
solver = CaptchaSolver('antigate', api_key='ANTIGATE_KEY')
raw_data = open('captcha.png', 'rb').read()
print(solver.solve_captcha(raw_data))
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
captcha-solver-0.1.3.tar.gz
(6.8 kB
view details)
File details
Details for the file captcha-solver-0.1.3.tar.gz
.
File metadata
- Download URL: captcha-solver-0.1.3.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 277f3227c6b2d6c5fed38c7b2602b152ef551901a66d265adc941d5732556b9a |
|
MD5 | e0db6cfc9696b53cf1bc770b8a9d0b9e |
|
BLAKE2b-256 | c3d7db6f260e3f030b5b2cbe832d328c12a55896774a880120dc6a0195085790 |