ultrafunkamsterdam / undetected-chromedriver

Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
https://github.com/UltrafunkAmsterdam/undetected-chromedriver
GNU General Public License v3.0
9.71k stars 1.14k forks source link

Can't bypass cloudflare #1367

Open AminAbbar opened 1 year ago

AminAbbar commented 1 year ago

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 commented 1 year ago

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

AminAbbar commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

Any fix or solutionf or this?

MorsCrt commented 1 year ago

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 commented 1 year ago

@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: https://github.com/ultrafunkamsterdam/undetected-chromedriver/issues/1388#issuecomment-1651886887

Sleeeepy7 commented 1 year ago

Did someone solve that problem ?