Open AminAbbar opened 1 year ago
Are you also getting the error 1015 (rate limit)? It seems that Cloudflare did something recently which blocks undetected-chromedriver.
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
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:
Any fix or solutionf or this?
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/
@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
Did someone solve that problem ?
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)