#Proxy configuration am I doing it wrong?

1 messages · Page 1 of 1 (latest)

woven raptor
#
    """The crawler entry point."""
    proxy_configuration = ProxyConfiguration(

        proxy_urls=[
            'https://xxx:xx/',
            'https://xxx:xx/',
        ]
    )
    crawler = PlaywrightCrawler(
        headless=False,
        request_handler=router,
        max_requests_per_crawl=50,
        proxy_configuration=proxy_configuration,

    )

I am using playwrightcrawler and when I use this code its showing error -> ``` playwright._impl._api_types.Error: Browser needs to be launched with the global proxy. If all contexts override the proxy, global proxy will be never used and can be any string, for example "launch({ proxy: { server: 'http://per-context' } })"

shadow bronzeBOT
#

@woven raptor just advanced to level 1! Thanks for your contributions! 🎉

dusk folio
#

Someone will reply to you shortly. In the meantime, this might help:

dapper lodge