genetic-orange•13mo ago
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
Could you post a larger version of the code, including the
proxy_configuration
definition?genetic-orangeOP•13mo ago
Okay
genetic-orangeOP•13mo ago

genetic-orangeOP•13mo ago
This is the image
This seems like a Crawlee bug: we are investigating it.
Here is the GitHub issue: https://github.com/apify/crawlee-python/issues/484