berstend / puppeteer-extra

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

[Feature] Add image based captcha support to puppeteer-recaptcha plugin #696

Open uzair004 opened 2 years ago

uzair004 commented 2 years ago

Feature request

*Image-based captcha solving support

puppeteer ReCaptcha plugin should be able to solve image-based captchas. Currently, it does support non-image-based captchas but ordinary image-based captchas are too often. Also, 2captcha.com doesn't have a reliable JavaScript(Node) official SDK. This plugin is the only reliable solution please improve it.

Why the such a common problem left behind? 2captcha doesn't even provide NodeJS-based API

berstend commented 2 years ago

I'm considering it :) The reason I focussed on recaptcha in the beginning: It's a standard that doesn't require any further info from the developer - image captcha implementations are diverse and can't be automatically found in the DOM so the developer needs to provide the selector to the image (which is okay I guess)

berstend commented 2 years ago

If you have any links to sites using different image captchas feel free to post them here, makes developing a robust solution easier

pyrgasm commented 2 years ago

i feel like if you know coding getting the img downloaded and sent to 2cap shouldnt be such a big problem. Its much harder with recap mainly because of the callback thats often implemented you would have to find what it calls etc...

uzair004 commented 2 years ago

2Captcha doesn't provide Nodejs SDK. i have tried using different package which uses 2captcha internally. 2Captcha has terrible accuracy. Not even a single letter was guessed right.