berstend / puppeteer-extra

💯 Teach puppeteer new tricks through plugins.
https://extra.community
MIT License
6.49k stars 743 forks source link

recaptcha-plugin HCaptcha support #177

Closed hgenchev99 closed 3 years ago

hgenchev99 commented 4 years ago

There is a new captcha provider https://www.hcaptcha.com/ and some sites are moving to them. It will be nice to be able to parse them as well.

vallovic commented 4 years ago

Considering this, having hCaptcha support would be a great thing

https://blog.cloudflare.com/moving-from-recaptcha-to-hcaptcha/

brunogaspar commented 4 years ago

Pull requests to add this are very welcomed :)

berstend commented 4 years ago

For reference: https://github.com/Futei/SineCaptcha/ https://github.com/zedd3v/hsolve https://github.com/JimmyLaurent/hcaptcha-solver

phillipalexander commented 3 years ago

Would love to see this functionality added.

berstend commented 3 years ago

@phillipalexander hCaptcha support has landed (#383) 😄

I opted to re-use the existing APIs so just upgrade to puppeteer-extra-plugin-recaptcha@3.3.0 and page.solveRecaptchas() will take care of those:

reCAPTCHA v2, reCAPTCHA v3, invisible reCAPTCHA, hCaptcha, invisible hCaptcha

Note: Playwright support (#303) is right around the corner and will support solving captchas in Firefox & Webkit as well. :-)

seuaCoder commented 3 years ago

@phillipalexander hCaptcha support has landed (#383) 😄

I opted to re-use the existing APIs so just upgrade to puppeteer-extra-plugin-recaptcha@3.3.0 and page.solveRecaptchas() will take care of those:

reCAPTCHA v2, reCAPTCHA v3, invisible reCAPTCHA, hCaptcha, invisible hCaptcha

Note: Playwright support (#303) is right around the corner and will support solving captchas in Firefox & Webkit as well. :-)

i tried but it doesn't work with cloudflare hcaptcha. Nothing happen after await page.solveRecaptchas()