Best Practices for Using Proxy with Scrapy: How to Avoid Getting Blocked?

22 Replies, 1467 Views

Hey there! Using proxy with scrapy is all about balance. Too many requests too fast, and you’re toast.

I’d suggest using a mix of residential proxies (paid, obviously) and setting a custom download delay in your settings.py file. Something like:

DOWNLOAD_DELAY = random.uniform(2, 5)

Also, check out Zyte (formerly Scrapinghub) for reliable proxy services.

Messages In This Thread



Users browsing this thread: 1 Guest(s)