async def main() -> None:
"""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' } })"