Closed juanfrilla closed 1 year ago
i'm trying to connect to a proxy like this, but not able to do it:
async def navigate_ichrome(self, doc_id): proxy = "103.152.112.145:80" chrome_path = "/usr/bin/chromium-browser" if not _DEV_MODE else None async with AsyncChromeDaemon( headless=True, proxy=proxy, chrome_path=chrome_path ) as cd: async with cd.connect_tab() as tab: await tab.goto(self.origin + "/document/" + doc_id, timeout=60000) sleep(30) html = await tab.html return Soup(html, "html.parser")
http://103.152.112.145:80
async with cd.incognito_tab(proxyServer=proxy) as tab:
http://httpbbin.org/ip
Amazing, now It worked
i'm trying to connect to a proxy like this, but not able to do it: