Need Help Using Proxy with Scrapy: Best Practices and Common Pitfalls?

12 Replies, 1954 Views

Using proxy with scrapy is a must if you’re scraping at scale. One thing I’d suggest is to use a proxy manager like ProxyMesh. It handles all the rotation for you, so you don’t have to worry about it.

Also, make sure you’re setting the proxy correctly in your Scrapy settings. A lot of people forget to add the proxy middleware, and then wonder why it’s not working.

For timeouts, try increasing the `DOWNLOAD_TIMEOUT` setting. It’s helped me a lot.

Messages In This Thread



Users browsing this thread: 1 Guest(s)