I
I
ilyaelmanov2019-06-30 13:37:57
Parsing
ilyaelmanov, 2019-06-30 13:37:57

Is it possible to bypass reCaptcha when parsing Google SERPs?

Good afternoon! There is a task - to connect the anti-captcha to the Yandex and Google search results parser. I figured out Yandex, it was easy, because. there is an ordinary picture that can be decrypted using the anticaptcha.com service. That's a big problem with Google. I did everything the same as in Yandex, only I faked everything under Google. The answer to the recaptcha from the service calmly comes to me, but I still don’t understand where to send this answer. Firstly, I looked at the recaptcha form in the html code 5d1891500a8d0758101360.pngand sort of made a post request to Google. I send a request and in response an error that the request is invalid. I decided to read in the Google api how their recaptcha works and saw that other sites provided for accessing the Google api to check g-recaptcha-response, and a secret key is required there, which is known only to Google itself. Is there really no way to bypass Google's captcha?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
Dimonchik, 2019-06-30
@ilyaelmanov

in the google api, how their recaptcha works and saw that it provides for other sites to contact the google api to check g-recaptcha-response, and it requires a secret key, which is known only to google itself

it’s not from this topic you
take a debugger - Chrome or Selenium or Fiedler or all together,
look at what goes where,
then replace the send in your script with a manual one and enter from the current host,
timeouts,
achieve passability,
then change the manual one to anti-captcha,
don’t forget for timeouts,
solved

S
spaceatmoon, 2019-06-30
@spaceatmoon

The feature of Google's recaptcha is that it sits in the code on the site you need. When passing the captcha, a form is sent along with a secret key, which is checked by Google that the secret key is correct, and after that the site continues to work normally.
So most likely you will not succeed "on easy", there, nevertheless, specialists are not sitting for 40k salary.
I managed to bypass the check on Yandex through correctly substituted headers and cookie substitution, maybe it will work here too. The most important thing is to pretend to be human as much as possible.

L
ls_andrey, 2019-07-03
@ls_andrey

2captcha.com to help you

A
Andrey Andreev, 2019-07-01
@b0nn1e

Most likely, the secret of kei has nothing to do with it.
Perhaps the problem is in the domain, the recaptcha checks from which domain the request came and from which domain this particular captcha was passed.

S
Sergey delphinpro, 2017-09-06
@angry_yum

Very simple as always
https://jsfiddle.net/7yLkaqyp/1/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question