Jump to content
UBot Underground

Problem Solving Recaptcha When I Scrape Google Result


Recommended Posts

Hi, i use ubot to scrape google result. so it will navigate to https://www.google.com/search?q=allintitle:{$replace(#keyword," ","+")} and scrape it.

the problem is when it shows captcha i get a same problem . I use the code below here at several month ago and it works perfect.
 

wait for browser event("Everything Loaded","")
wait(1)
set(#GoogleKey,$scrape attribute(<class="g-recaptcha">,"data-sitekey"),"Global")
clear list(%Debug)
add list to list(%Debug,$plugin function("Advanced Captcha.dll", "$2captcha.com recaptcha", #AccessKey, #GoogleKey, $url, "", "", 50, 120, "", "", "", "V2"),"Delete","Global")
change attribute(<id="g-recaptcha-response">,"value",$list item(%Debug,1))
run javascript("document.getElementById(\"captcha-form\").submit();")
comment("run javascript(\"___grecaptcha_cfg.clients[0].aa.l.callback()\")")

the problem is when ubot run the code below here, i always get an error. you can see here https://prnt.sc/suxxa3

add list to list(%Debug,$plugin function("Advanced Captcha.dll", "$2captcha.com recaptcha", #AccessKey, #GoogleKey, $url, "", "", 50, 120, "", "", "", "V2"),"Delete","Global") 

 i try the code above on https://www.google.com/recaptcha/api2/demohttps://patrickhlauke.github.io/recaptcha/ and all of them works perfectly and i get the right key code. but when i use it my ubot code on google captcha page after i scrape google result, is there a way to fix it or to solve google captcha?  

Edited by taufiqkyu
Link to post
Share on other sites
  • 1 month later...

yes. I've used the method described on 2captcha api page (with scraping data-s parameter) and it works fine (more than 80% success).

https://2captcha.com/blog/update-google-recaptcha

https://2captcha.com/2captcha-api#solving_recaptchav2_new

https://captchaforum.com/threads/google-search-18th-of-may-2020.684/

Link to post
Share on other sites

yes. I've used the method described on 2captcha api page (with scraping data-s parameter) and it works fine (more than 80% success).

https://2captcha.com/blog/update-google-recaptcha

https://2captcha.com/2captcha-api#solving_recaptchav2_new

https://captchaforum.com/threads/google-search-18th-of-may-2020.684/

after get token from 2captcha , i dont know how to bypass , i try both submitcallback() and build a proper final URL, https://www.google.com/sorry/index?q=Q_PARAMETER_VALUE&continue=CONTINUE_VALUE&g-recaptcha-response=TOKEN. But both are fail

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...