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.76k stars 1.15k forks source link

proxy authentication #709

Open furzich2015 opened 2 years ago

furzich2015 commented 2 years ago

How do I enable proxy support with authentication?

sebdelsol commented 2 years ago

You're supposed to search the existing issues before raising a new one... Anyway, please check this answer. Thanks for closing this issue.

furzich2015 commented 2 years ago

You're supposed to search the issues before raising an issue... Anyway, please check this answer. Thanks for closing this issue.

I tried with seleniumwire but it doesn't work. Version 103 options = { "proxy": { "http": f"http://{login}:{password}@217.198.181.253:60752", "https": f"http://{login}:{password}@217.198.181.253:60752" } } `chrome_options = Options()

create driver and go to log in page

driver = uc.Chrome(use_subprocess=True, chrome_optione=chrome_options, seleniumwire_options=options)
driver.set_window_size(random.randint(1011,1899), random.randint(777, 1000))
url = "https://2ip.ru"
driver.get(url)`
sebdelsol commented 2 years ago

Did you properly import undetected-chromedriver from selenium-wire ?

# import undetected_chromedriver as uc
import seleniumwire.undetected_chromedriver as uc

EDIT : please close this issue, it has nothing to do with UC.