continuing-cyan•16mo ago
Confusion around configuring Crawlee through a tor proxy
Here is the code I'm working with currently:
When I use the proxyConfiguration I run into the following error
ERROR PlaywrightCrawler: Request failed and reached maximum retries. page.goto: NS_ERROR_UNKNOWN_PROXY_HOST However, when I remove it, everything seems to work okay.
So my question is why isn't proxyConfiguration needed in this case? Are all requests still being directed through the tor proxy I have running locally?
Thanks!
(I have verified the tor proxy is running via curl --socks5-hostname localhost:9050 https://check.torproject.org/api/ip0 Replies