CAPTCHAFORUM
Administrator
The easiest way to quickly integrate 2Captcha captcha solving service into your code to automate solving of any types of captcha.
Installation
This package can be installed with Pip:
pip3 install 2captcha-python
Configuration
TwoCaptcha instance can be created like this:
Code:
from twocaptcha import TwoCaptcha
solver = TwoCaptcha('YOUR_API_KEY')
Also there are few options that can be configured:
Code:
config = {
'server': '2captcha.com',
'apiKey': 'YOUR_API_KEY',
'softId': 123,
'callback': 'https://your.site/result-receiver',
'defaultTimeout': 120,
'recaptchaTimeout': 600,
'pollingInterval': 10,
}
solver = TwoCaptcha(**config)
Documentation https://github.com/2captcha/2captcha-python