Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't bypass cloudflare #1367

Open
AminAbbar opened this issue Jun 26, 2023 · 7 comments
Open

Can't bypass cloudflare #1367

AminAbbar opened this issue Jun 26, 2023 · 7 comments

Comments

@AminAbbar
Copy link

AminAbbar commented Jun 26, 2023

Browser can't bypass any cloudflare website for example nowsecure.nl
but when i stop python script browser manage to bypass it, any ideas about how to fix that? (i am not using proxy and my ip working fine when close the script and navigate to cloudflare with browser that spawns from the module before closing the script)

@hnavidan
Copy link

Are you also getting the error 1015 (rate limit)? It seems that Cloudflare did something recently which blocks undetected-chromedriver.

@AminAbbar
Copy link
Author

No it's not rate limit it's just keep scanning network again and again but if you stop your python script it bypass it immediately

@BustyBee
Copy link

I have the same issue. This is my code:

import undetected_chromedriver as uc
driver = uc.Chrome(headless=True,use_subprocess=True)
driver.get('https://nowsecure.nl')
driver.save_screenshot('nowsecure.png')

And this the result:
nowsecure2

@senzacionale
Copy link

Any fix or solutionf or this?

@MorsCrt
Copy link

MorsCrt commented Jul 4, 2023

I solved that issue with defining data-dir for example:

options.add_argument('--user-data-dir=C:/Users/username/AppData/Local/Google/Chrome/User Data/Default')

You can check your path with using:

chrome://version/

@baptx
Copy link

baptx commented Jul 26, 2023

@MorsCrt This solution alone did not fix the issue if you did not already complete the CAPTCHA, I had to use another one to be able to complete the CAPTCHA:
#1388 (comment)

@Sleeeepy7
Copy link

Did someone solve that problem ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants