2captcha / 2captcha-python

Python 3 package for easy integration with the API of 2captcha captcha solving service to bypass recaptcha, hcaptcha, сloudflare turnstile, funcaptcha, geetest and solve any other captchas.
https://pypi.org/project/2captcha-python
MIT License
532 stars 91 forks source link

[Feat. request] Return result from getting report #56

Open phdphuc opened 1 year ago

phdphuc commented 1 year ago

Code to implement locates at https://github.com/2captcha/2captcha-python/blob/08e8e00d39e1f7581df74479e74a8a46a8e1d827/twocaptcha/solver.py#L594

As in documentation:

List of GET request parameters for http://2captcha.com/res.php

json Integer Default: 0 No 0 - server will send the response as plain text 1 - tells the server to send the response as JSON

Server will return OK_REPORT_RECORDED response to your request. Or an error code if something went wrong.