CAPTCHAFORUM
Administrator
Captcha Tools
Python module to help solve captchas with Capmonster, 2Captcha and Anticaptcha API's!
Go(lang)
To see documentation for the Go implementation, click here
Install
To update
How to use
or
For 2Captcha, don't run more than 60 tasks per API key.
Exceptions
or
Python module to help solve captchas with Capmonster, 2Captcha and Anticaptcha API's!
Go(lang)
To see documentation for the Go implementation, click here
Install
pip3 install captchatoolsTo update
pip3 install -U captchatoolsHow to use
Code:
import captchatools
solver = captchatools.captcha_harvesters(solving_site="capmonster", api_key="YOUR API KEY", sitekey="SITEKEY", captcha_url="https://www.google.com/recaptcha/api2/demo")
captcha_answer = solver.get_token()
or
Code:
from captchatools import captcha_harvesters, exceptions
solver = captcha_harvesters(solving_site=1, api_key="YOUR API KEY", sitekey="SITEKEY", captcha_url="https://www.google.com/recaptcha/api2/demo")
captcha_answer = solver.get_token()
For 2Captcha, don't run more than 60 tasks per API key.
Exceptions
Code:
from captchatools import captcha_harvesters, exceptions as captchaExceptions
try:
...
except captchaExceptions.NoBalanceException:
print("No balance.")
or
Code:
import captchatools
try:
...
except captchatools.NoBalanceException:
print("No balance.")