Binit-Dhakal / Google-reCAPTCHA-v2-solver-using-playwright-python

57 stars 14 forks source link

Fail to get recaptcha frame #2

Closed GeminiT369 closed 2 years ago

GeminiT369 commented 2 years ago

waiting for selector "//iframe[@title='recaptcha challenge expires in two minutes']" timeout. it look like google change something

Binit-Dhakal commented 2 years ago

I checked from my side and the code is working. Can you run it again and send me the error logs and make sure the error persists?

GeminiT369 commented 2 years ago

I checked from my side and the code is working. Can you run it again and send me the error logs and make sure the error persists?

the log is:

Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for selector "//iframe[@title='recaptcha challenge expires in two minutes']"
============================================================
Exception ignored in: <function SolveCaptcha.__del__ at 0x000001DFDC9D4C10>
Traceback (most recent call last):
  File "main.py", line 103, in __del__
FileNotFoundError: [WinError 2] 系统找不到指定的文件。: 'audio.mp3'

i just run your use case, and the browser didn't click the audio button. Maybe due to a different browser language

Binit-Dhakal commented 2 years ago

Hello @GeminiT369. Thanks for reaching out. I have tried to reproduce your environment in a different language but could not exactly reproduce even using VPN so I change the XPath "//iframe[@title='recaptcha challenge expires in two minutes']" in a recent commit #3. Please try again using the new code and informing if the code runs well from your end. Thank you, Binit Dhakal

GeminiT369 commented 2 years ago

Hello @GeminiT369. Thanks for reaching out. I have tried to reproduce your environment in a different language but could not exactly reproduce even using VPN so I change the XPath "//iframe[@title='recaptcha challenge expires in two minutes']" in a recent commit #3. Please try again using the new code and informing if the code runs well from your end. Thank you, Binit Dhakal

it works now, thank you for your excellent work!