codemanki / cloudscraper

--DEPRECATED -- 🛑 🛑 Node.js library to bypass cloudflare's anti-ddos page
MIT License
600 stars 139 forks source link

noob wants to bypass ReCaptcha #254

Closed Nameless9 closed 5 years ago

Nameless9 commented 5 years ago

Hello,

I need to bypass the Recaptcha.

I've looked at your example pages: https://github.com/codemanki/cloudscraper/blob/HEAD/docs/examples/solve-recaptcha.js and https://github.com/codemanki/cloudscraper/blob/HEAD/docs/examples/solve-recaptcha-v2.js

I have trouble with using this example. let's say I'm using the non-promise version (non- v2 page), I see that the key code to solve ReCaptcha's are the solveReCAPTCHA method that isn't provided to us. I am able to see URL and siteKey from the header. I think I've may be seen an issue that I need to provide my own methods for this. Can you help me understand how to provide this method?

thanks

ghost commented 5 years ago

Hi @Nameless9,

It should be a straight-forward process once you understand a couple of concepts.

So with that in mind, if you head over to https://anti-captcha.com/mainpage, you'll see the Documentation link in the navigation header (very top center of the page). It's impossible to miss.

The docs link is https://anti-captcha.com/apidoc/recaptcha. The page shows examples and links to examples in multiple languages. As you'd expect there is one for Node.js: https://github.com/AdminAnticaptcha/anticaptcha-nodejs

So finding this information is either 123 or you're better off using a different service...

The examples there should suffice but if you're still struggling, maybe open an issue there: https://github.com/AdminAnticaptcha/anticaptcha-nodejs/issues (or stackoverflow.com)?

Or since you'd be paying for the service, contact support.

Cheers