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.95k stars 1.16k forks source link

Need help #372

Open mostdoqe opened 2 years ago

mostdoqe commented 2 years ago

Hello, I've tried using:

import undetected_chromedriver.v2 as uc driver = uc.Chrome() driver.get('https://nowsecure.nl') # known url using cloudflare's "under attack mode"

But I'm getting errors: image

I would love to get in touch with you, how can I contact you?

Thanks a lot!

y-tai commented 2 years ago

Hi, I run your code, but I didn't get your error. Just the page blocked by CloudFlare.

If you want to bypass the cloudflare, your can try this: driver.execute_script('window.open("https://nowsecure.nl");')

If your browser block the page, you can set: options.add_argument("--disable-popup-blocking") options.add_argument('--no-sandbox')

mostdoqe commented 2 years ago

Hi, I run your code, but I didn't get your error. Just the page blocked by CloudFlare.

If you want to bypass the cloudflare, your can try this: driver.execute_script('window.open("https://nowsecure.nl");')

If your browser block the page, you can set: options.add_argument("--disable-popup-blocking") options.add_argument('--no-sandbox')

What Python version are u using?

Actually I got it working after removing the v2

import undetected_chromedriver as uc

And I used Python 3.8

y-tai commented 2 years ago

Python 3.7.3

mostdoqe commented 2 years ago

Python 3.7.3

Do you have telegram or discord?

thaisonho commented 2 years ago

I have the problem same as yours. But I've tried to remove v2 from import undetected_chromedriver, it works now. I'm using Python 3.9, still finding the solution for v2.