- Add new tasks:
AntiGateTask
andAntiGateTaskProxyless
RecaptchaV2EnterpriseTask
andRecaptchaV2EnterpriseTaskProxyless
GeeTestTask
andGeeTestTaskProxyless
RecaptchaV2Task
(alias ofNoCaptchaTask
) andRecaptchaV2TaskProxyless
(alias ofNoCaptchaTaskProxyless
)
- Add example for
AntiGateTaskProxyless
- Add optional parameters
comment
,websiteUrl
toImageToTextTask
- Add optional parameter
funcaptchaApiJSSubdomain
,data
toFunCaptchaTask*
- Add optional parameter
isEnterprise
toRecaptchaV3Task*
- Drop tasks unsupported upstream:
CustomCaptchaTask
,SquareNetTask
- Internal refactor to extract
UserAgentMixin
,CookieMixin
- Use nose2 for tests
- Added examples for proxy mode including hcaptcha_request_proxy
- Fix inheritance of FunCaptchaTask
- Added FunCaptchaTask to e2e tests
Added parameter recaptchaDataSValue in NoCaptchaTask*
Thanks to this change added support for additional "data-s" used by some custom ReCaptcha deployments, which is in fact a one-time token and must be grabbed every time you want to solve a Recaptcha. <div class="g-recaptcha" data-sitekey="some sitekey" data-s="THIS_TOKEN"></div>
- Fixed deprecated method report_incorrect. You should currently use report_incorrect_image instead already.
- Added custom timeout for
createTaskSmee
. Use asclient.createTaskSmee(task, timeout=5*60)
. Default timeout is 5 minutes. - Added
squarenet_validator
for usage with thread pool for concurrent execution
- Default 5 seconds timeout apply to all API request.
- Fix import of package
- Added
HCaptchaTaskProxyless
andHCaptchaTask
for support hCaptcha . Seeexamples/hcaptcha_request.py
for detailed usage example. - Added
SquareNetTask
. Seeexamples/squarenet.py
for detailed usage example. - Added
Job.report_incorrect_recaptcha
andJob.report_incorrect_image
.
- Exposed
FunCaptchaProxylessTask
aspython_anticaptcha.FunCaptchaProxylessTask
- Exposed
CustomCaptchaTask
aspython_anticaptcha.CustomCaptchaTask
- Formated code via Black
- Move constant monitoring to GitHub Actions
- Deprecated
Job.report_incorrect
. Usereport_incorrect_image
instead.
- Added example
remote_image.py
- Switch CI from TravisCI to GitHub Actions
- Automate PyPI releases
- Use
use_scm_version
for versioning - Drop
use_2to3
insetup.py
- Added
python_anticaptcha.__version__
to provide version signature (see PEP396)
python_anticaptcha.AnticaptchaClient.createTaskSmee
use shared session & keep connection.
- Added
python_anticaptcha.AnticaptchaClient.createTaskSmee
to receive responses without polling - The method, which is based on the callback result of captcha / task factory to Smee.io, which immediately transfers it to library. Allows to significantly shorten the waiting time for a response and to reduce load the network connection. The method is in beta and the way it works may change. All comments are welcome.
- Added
- Recaptcha V3 is now officially supported by Anti-Captcha. Added
python_anticaptcha.RecaptchaV3TaskProxyless
.
- Added support for
IsInvisible
flag inNoCaptchaTaskProxylessTask
andNoCaptchaTask
- Replaced
python_anticaptcha.AnticatpchaException
topython_anticaptcha.AnticaptchaException
due typo
- Added
python_anticaptcha.exceptions.AnticatpchaException
- Added docs about error handling
- Deprecated
python_anticaptcha.exceptions.AnticatpchaException