ad-m / python-anticaptcha

Client library for solve captchas with Anticaptcha.com support.
http://python-anticaptcha.readthedocs.io/en/latest/
MIT License
219 stars 51 forks source link

Hcaptcha #53

Closed Brando39 closed 4 years ago

Brando39 commented 4 years ago

Hi! Today I've encountered on this website (https://www.43einhalb.com/) a different kind of captcha, called hCaptcha, which is very similar to the reCaptcha. Anticaptch already support this kind of captchas. My question is, will you upgrade the captcha solvers to support the API of that solve them? If you won't, how I have to approach to the code to solve it myself? I ask because I'm not sure if I can do it myself or not

Thanks in advance!

ad-m commented 4 years ago

If Anticaptcha support it I will release new version of library in next weekend.

Brando39 commented 4 years ago

Yes they support it!

https://anti-captcha.com/apidoc/hcaptcha

Thanks for the quick response! :)

ad-m commented 4 years ago

Could you verify PR #54?

You can install it using following command:

pip install git+https://github.com/ad-m/python-anticaptcha.git@hcaptcha

PR contain appropriate documentation (example).

Brando39 commented 4 years ago

Thanks, it works!

VeNoMouS commented 4 years ago

Is this going to merged into the main branch and if so can we get a version increase and a pypi upload?

ad-m commented 4 years ago

Today in few hours.

VeNoMouS commented 4 years ago

cheers @ad-m

ad-m commented 4 years ago

@VeNoMouS , sorry for delay. I merged #54, but in #55 I work on some extra tests. To make tests reliable I have run it very many time and in take time. I hope today merge #55 and release new version.

VeNoMouS commented 4 years ago

All good, thanks, I've got users for https://pypi.org/project/cloudscraper asking for hCaptcha support, are you going to be adding in a proxy hCaptcha task ?

ad-m commented 4 years ago

I am going to add HCaptchaTaskProxyless and HCaptchaTask for support hCaptcha . See examples/hcaptcha_request.py ( https://github.com/ad-m/python-anticaptcha/blob/master/examples/hcaptcha_request.py ) for detailed usage example.

VeNoMouS commented 4 years ago

btw

https://github.com/ad-m/python-anticaptcha/blob/master/python_anticaptcha/__init__.py#L9-L10

dupe defined

ad-m commented 4 years ago

Published in v0.5.0. See https://pypi.org/project/python-anticaptcha/ .