Closed maretodoric closed 3 years ago
It appears site somehow managed to figure out that i haven't contacted google api for recaptcha. Any idea how do i workaround that ..?
I managed to figure it out by POST-ing to a specific link using recaptcha response. Found this link using google chrome developer tools looking at the network activity. Could not do it on Firefox since it clears the activity on (sub)domain change.
However I could not figure out how to POST with selenium so i used "requests" and copied cookies over to selenium.
Hello,
I'm trying to login to one site where i can check for my bills. It uses recaptcha unfortunately ... For test purposes, I copied the exact selenium_recaptcha_v2.py script and added my API_KEY, when got to part: https://github.com/AndreiDrang/python3-anticaptcha/blob/a078455ce013a873936495ba2dc3e25c0aeb9c48/anticaptcha_examples/selenium_recaptcha_v2.py#L42 i issued
browser.page_source
and noticed that it was successful.However when i tried on real live site (i will post the site if requested) it fails to do so, site thinks that i have never clicked on recaptcha form. Ofcourse i have verified and when necessary edited lines
https://github.com/AndreiDrang/python3-anticaptcha/blob/a078455ce013a873936495ba2dc3e25c0aeb9c48/anticaptcha_examples/selenium_recaptcha_v2.py#L11 and https://github.com/AndreiDrang/python3-anticaptcha/blob/a078455ce013a873936495ba2dc3e25c0aeb9c48/anticaptcha_examples/selenium_recaptcha_v2.py#L12
to match the site source. When i eventually try and execute everything, site just says that recaptcha was not submitted. Any idea what else i need to look into to make this work?