Xewdy444 / CF-Clearance-Scraper

A simple program for scraping Cloudflare clearance (cf_clearance) cookies from websites issuing Cloudflare challenges to visitors
MIT License
217 stars 34 forks source link

chromedriver keeps clicking checkbox #36

Closed alexqyle closed 1 year ago

alexqyle commented 1 year ago

I was testing with chromedriver on commit 57c169619fd259885935beb648eeec73d7598001. I did fix TURNSTILE_FRAME with correct XPath to find the new iframe on site https://nowsecure.nl. When running it with -d option, I can see it keeps clicking the checkbox but it cannot pass the validation. I tried different versions of Chrome but no luck with that. Is there any way to successfully get the cookie by using chromedriver?

Xewdy444 commented 1 year ago

Unfortunately, undetected-chromedriver isn't undetected with the newer versions of Chrome. The owner has stated that a full rewrite is on the way, but with no ETA. So to answer your question, there isn't a good solution at the moment.

alexqyle commented 1 year ago

Thanks for the reply. I will close the issue.