How can I add authentication proxy to start_async? #3823
-
I'm executing this code and the proxy is not being applied correctly proxy = "username:[email protected]:12321"
driver = await cdp_driver.cdp_util.start_async(
proxy=proxy, binary_location="/usr/bin/google-chrome", headless=False
)
url = "https://www.marca.es"
page = await driver.get(url)
await asyncio.sleep(2)
title = await page.evaluate("document.title")
logging.info(f"Accessing to page with title {title}")
content = await page.get_content()
logging.info(content) I'm receiving: |
Beta Was this translation helpful? Give feedback.
Answered by
juanfrilla
Jun 16, 2025
Replies: 1 comment
-
it's working, sorry the issue was that the website has the country of the proxies blocked |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
juanfrilla
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it's working, sorry the issue was that the website has the country of the proxies blocked