CAPTCHAFORUM
Administrator
This is a fork of the captcha_solver library to fix bugs. For python.
Installation
pip install captcha-solver
Twocaptcha Backend Example
Service website is https://2captcha.com
Code:
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))
Documentation https://github.com/jimtje/captcha_solver