Jump to content



Photo

Problem Solving Recaptcha When I Scrape Google Result


  • Please log in to reply
5 replies to this topic

#1 taufiqkyu

taufiqkyu

    Advanced Member

  • Members
  • PipPipPip
  • 45 posts
  • OS:Windows 8
  • Total Memory:More Than 9Gb
  • Framework:v3.5 & v4.0
  • License:Developer Edition

Posted 06 June 2020 - 07:58 AM

Hi, i use ubot to scrape google result. so it will navigate to https://www.google.c...h?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.c...ptcha/api2/demohttps://patrickhlauk...b.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, 06 June 2020 - 08:04 AM.


#2 bestmacros

bestmacros

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 433 posts
  • LocationIsrael
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 06 June 2020 - 09:47 PM

read this:

https://2captcha.com...oogle-recaptcha


bestmacros.jpg


#3 afkratien

afkratien

    Advanced Member

  • Members
  • PipPipPip
  • 156 posts
  • OS:Windows 10
  • Total Memory:2Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 13 June 2020 - 12:11 AM

do you have example code ?
thank



#4 afkratien

afkratien

    Advanced Member

  • Members
  • PipPipPip
  • 156 posts
  • OS:Windows 10
  • Total Memory:2Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 27 July 2020 - 02:37 AM

anyone success with google search 18th May 2020 recaptcha update ?



#5 bestmacros

bestmacros

    Advanced Member

  • Fellow UBotter
  • PipPipPip
  • 433 posts
  • LocationIsrael
  • OS:Windows 10
  • Total Memory:More Than 9Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 27 July 2020 - 02:10 PM

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...oogle-recaptcha

https://2captcha.com...recaptchav2_new

https://captchaforum...f-may-2020.684/


bestmacros.jpg


#6 afkratien

afkratien

    Advanced Member

  • Members
  • PipPipPip
  • 156 posts
  • OS:Windows 10
  • Total Memory:2Gb
  • Framework:v4.5+, unsure
  • License:Developer Edition

Posted 30 July 2020 - 03:08 AM

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...oogle-recaptcha

https://2captcha.com...recaptchav2_new

https://captchaforum...f-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.c...-response=TOKEN. But both are fail






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users