Proxy not working for chrome browser
When I added my proxy configuration to the playwright crawler that makes use of the chromium type browser, i throws and error meanwhile it doesnt throw an error when i specify firefox browser
code
)
crawler = PlaywrightCrawler( # Limit the crawl to max requests. Remove or increase it for crawling all links. max_requests_per_crawl=10, # Headless mode, set to False to see the browser in action. headless=False, # Browser types supported by Playwright. browser_type='chromium', proxy_configuration=proxy_configuration, use_session_pool=True, )
crawler = PlaywrightCrawler( # Limit the crawl to max requests. Remove or increase it for crawling all links. max_requests_per_crawl=10, # Headless mode, set to False to see the browser in action. headless=False, # Browser types supported by Playwright. browser_type='chromium', proxy_configuration=proxy_configuration, use_session_pool=True, )

7 Replies
Post created!
This post has been synced with the Apify community site and will be indexed by search engines
judicial-coral•9mo ago
Could you post a larger version of the code, including the
proxy_configuration
definition?stormy-goldOP•9mo ago
Okay
stormy-goldOP•9mo ago

stormy-goldOP•9mo ago
This is the image
judicial-coral•9mo ago
This seems like a Crawlee bug: we are investigating it.
judicial-coral•9mo ago
Here is the GitHub issue: https://github.com/apify/crawlee-python/issues/484