thicccat688 / selenium-recaptcha-solver

ReCAPTCHA solver for selenium (Using audio).
MIT License
105 stars 37 forks source link

Auto running even though the python program has stopped #30

Open cccchar1es opened 1 year ago

cccchar1es commented 1 year ago

First Thank you for this useful package!

My issue is not really a bug. I noticed that the solver keeps solving the recaptcha problem even when my python program has already ended. So is it running in the background or something. It is kind of creepy when I first encountered.

Thanks!

thicccat688 commented 1 year ago

Hello,

Thank you for the kind words!

I don't believe it keeps running in the background, because there's no code in the package for it to behave like that.

What may be causing it is you not closing your web driver via Selenium's quit() method, which makes it so the web driver session is closed entirely and doesn't consume background resources.

Hope this clears it up.

cccchar1es commented 1 year ago

Hi,

Yeah, that makes sense, I indeed didn't use quit().

I just encountered another situation. It seems like that after I used multiple times on a same website, it suddenly does not work, it can't even capture the iframe. If I replace a fresh cookie, it is usable again. It may be because I tried too many times during a short period and it will restore afterwards? Now, it just appears to me that after several uses it will be blocked by the recaptcha or something. Hope it can restore after hours?