#Authenticated proxies don't work with undetected_chromedriver
69 messages · Page 1 of 1 (latest)
oops lemme format it
yeah but I don't need more than that
from selenium import webdriver
PROXY = f"http://{proxy_username}:{proxy_password}@{proxy_address}:{proxy_port}"
chrome_options = WebDriver.ChromeOptions()
chrome_options.add_argument(f'--proxy-server="{PROXY}"')
chrome = webdriver.Chrome(chrome_options=chrome_options)
chrome.get("https://www.google.com")
what about this
it's a normal webdriver tho
bro
my code works, problem is I need it to work with undetected_chromedriver
wym
selenium-wire doesn't hook into the ugly shitty undetected chromedriver
so just do it via the chrome options
the undetected thing?
the proxy 😭
but chrome's gonna have that "this is an automated session" bs that's detected by even grandpa websites
oh
you mean like this?
options.add_argument(f'--proxy-server=https={proxy}')
bro
Just copy this extra line over
I've tried that in my original code first thing and it ran with my normal IP pretty much ignoring the proxy thing
options = webdriver.ChromeOptions()
options.add_argument(f'--proxy-server=https={proxy_url}')
driver = webdriver.Chrome(options=options)```
This is what I had in my original code
the code runs but my normal IP is used
I redacted it
--proxy-server=https={proxy_url}
the proxy is working
I told you to just copy the line from here
does this look alright @timber hound
if so, this still uses my normal IP
that's with undetected_chromedriver
what does it do
opens the website httpbin.io/ip and the displayed IP is my normal IP
I've tried the extension solutions here and all of them reach the same fate
including the latest one that uses class
nice
I think chrome patches these with their new versions
seems like that library is just wonky
or maybe you gotta use socks5 because muh we are stuck in 2005
are the proxies sock5
yes
I think so
they mentioned
Augmented Security Pick from HTTP, or the swift and trustworthy SOCKS5 protocol for added security. on their website
is my only option to manually find a third party download of the version? As far as I understand chrome doesn't give out older versions
idk go search the internet? lmao
If you're on Linux you'll probably be able to find older builds in repo archives
no idea for Windows or Mac
well yeah I found that it is only offered by third party websites, I asked you incase there's another solution you know of
I see
I'll risk malware for an older version lolol
😂
okay so I installed an older version of chrome and it seems to work