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

Doesnt click the checkbox #32

Closed DaniEnsi closed 7 months ago

DaniEnsi commented 1 year ago

The driver does not detect the checkbox, and therefore doesn't click it and fails... Also doesn't detect that it is interactive one which has to be clicked... Both on chrome driver and the other one...

Xewdy444 commented 1 year ago

This program currently will not be able to solve turnstile challenges due to an issue with Playwright. For more information, see https://github.com/microsoft/playwright/issues/21780. As a temporary solution, pass the -d flag and solve the challenge manually.

DaniEnsi commented 1 year ago

This program currently will not be able to solve turnstile challenges due to an issue with Playwright. For more information, see microsoft/playwright#21780. As a temporary solution, pass the -d flag and solve the challenge manually.

Yes, I read that in the readme, but why wont the undetected chrome-driver version work then? I though the issue is only with playwright, right?

DaniEnsi commented 1 year ago

When I try to use the chromedriver version, it opens, and insta closes, saying that the is no challenge present...

DaniEnsi commented 1 year ago
image
DaniEnsi commented 1 year ago

Nvm i figured out why... It shows this page when I use chromedriver:

image
Xewdy444 commented 1 year ago

The instructions for installing the Selenium Wire CA certificate are in the readme. Another thing to note is that undetected-chromedriver is currently not undetected with the latest version of Chrome.

Xewdy444 commented 12 months ago

The instructions for installing the Selenium Wire CA certificate are in the readme. Another thing to note is that undetected-chromedriver is currently not undetected with the latest version of Chrome.

Meaning even if loaded using google chrome it wouldn't be able to solve the turnstile challenge, correct?

If you're using undetected-chromedriver, yes.

Xewdy444 commented 12 months ago

The instructions for installing the Selenium Wire CA certificate are in the readme. Another thing to note is that undetected-chromedriver is currently not undetected with the latest version of Chrome.

Meaning even if loaded using google chrome it wouldn't be able to solve the turnstile challenge, correct?

If you're using undetected-chromedriver, yes.

I'm currently using playwright but there is some challenge it's not able to solve automatically right now, would you be interested in taking a look?

Sure

Xewdy444 commented 12 months ago

The instructions for installing the Selenium Wire CA certificate are in the readme. Another thing to note is that undetected-chromedriver is currently not undetected with the latest version of Chrome.

Meaning even if loaded using google chrome it wouldn't be able to solve the turnstile challenge, correct?

If you're using undetected-chromedriver, yes.

I'm currently using playwright but there is some challenge it's not able to solve automatically right now, would you be interested in taking a look?

Sure

Check this site out, https://flipd.gg

I run the command to parse the cookie from there but currently it's been needing a manual solve, I've been only using playwright.

Well, unfortunately, there isn't much you can do to prevent an interactive challenge when trying to solve a managed challenge.