Proxies for Scrapy
Scrapy sends many requests in parallel, which sites limit from one IP. A single rotating proxy line gives every request a new IP without extra middleware.
Our pick for Scrapy
Residential Lite
$0.60 per GB
- Setting
- A new IP on every request
- Targeting
- Country
- Protocols
- HTTP and SOCKS5
How to set it up for Scrapy
A new IP on every request. Leave the session out of the username, and every request leaves from a different address in the country you choose.
- Set request.meta["proxy"] to "http://USER:PASS@HOST:PORT", or use an environment variable.
- One rotating line is enough: each connection leaves from a new IP.
- Lower CONCURRENT_REQUESTS_PER_DOMAIN if you see blocks.
Other proxy types that work
Start with our pick. If Scrapy still blocks or challenges you, move to the next type in the list; if it works, you can try the cheaper option for bulk work.
Steps
- Buy the smallest Residential Lite plan, one gigabyte, to test with Scrapy. Pay by card or crypto; the plan is delivered by itself, usually within a minute.
- Open the plan in your dashboard and copy the ready-to-paste line, or make a list in the generator with the country you need.
- Paste it into your Scrapy code or settings, and press the test button on the plan page to see the IP and country.
- Run a small job on Scrapy first. If it works, top up the same plan and keep the login; if it is blocked, try the next proxy type above.
A proxy changes where your traffic comes from. It does not change Scrapy's rules: follow its terms and the law, and our acceptable use policy applies to every plan.
Questions about proxies for Scrapy
Which proxy is best for Scrapy?
Residential Lite, set to a new ip on every request. Scrapy sends many requests in parallel, which sites limit from one IP. A single rotating proxy line gives every request a new IP without extra middleware.
Do I need a proxy rotation middleware for Scrapy?
Not with a rotating plan. The proxy rotates for you.
How do I keep a session in Scrapy?
Add a session ID to the username for requests that must share an IP.