ProxyTee
Scraping Frameworks & Proxy Tools • High-Throughput Crawling • 30M+ Residential IPs
Scrapy Framework logo

How to Integrate ProxyTee with Scrapy Framework

Plug ProxyTee's 30M+ rotating residential ports into Scrapy downloader middlewares to crawl millions of e-commerce, directory, and SERP pages at flat monthly port rates.

Recommended Protocol
HTTP/HTTPS
Dual-Stack Port Ready
Rotation Window
3 Minutes (Fastest Auto-Rotation)
Dashboard Configurable
Authentication Mode
IP Whitelist or Base64 Proxy-Authorization
Instant Port Credential Verification
Recommended Plan
25 Ports ($449/mo) or 50 Ports ($799/mo)
$0.00/GB Unlimited Bandwidth
Integration Architecture

Why Pair Scrapy Framework with ProxyTee?

Scrapy is Python's premier industrial-strength asynchronous crawling framework. When crawling millions of product pages or search listings, per-GB residential proxies quickly become the single largest line item in your cloud budget. Integrating ProxyTee's Unlimited Residential Ports into your Scrapy `DownloaderMiddleware` lets your spiders run at full concurrency 24/7 with predictable flat-rate billing.

  • 30,000,000+ Real Household IPs: Route Scrapy Framework traffic through genuine residential consumer ISPs across 100+ countries.
  • Zero Per-Gigabyte Fees: Run 24/7 Scrapy Framework workflows on flat-rate concurrent ports starting at $29/month.
  • Native HTTP, HTTPS & SOCKS5: Switch protocols or adjust sticky rotation windows (3–60 minutes) directly inside the ProxyTee dashboard.

Built for 24/7 Scrapy Spiders

Crawl terabytes of HTML and JSON feeds every month on flat-rate ports ($13.99–$29/port).

Multi-Port Load Balancing

Distribute Scrapy `CONCURRENT_REQUESTS` across 5, 25, 50, or 100 ProxyTee ports effortlessly.

30M+ Residential IP Pool

Avoid subnet bans on Amazon, Walmart, Booking.com, Yelp, and Google.

Serverless & Scrapyd Compatible

Deploy on Scrapyd, AWS Lambda, or Kubernetes with IP Whitelist authentication.

60-Second Configuration

Step-by-Step Scrapy Framework Proxy Setup

Follow these four steps to connect your ProxyTee residential port to Scrapy Framework.

Step 1

1. Configure Your ProxyTee Port Pool

In the ProxyTee Dashboard, set your ports to 3-minute auto-rotation and either whitelist your Scrapy server IP or copy your `username:password` credentials.

Step 2

2. Add a Custom Proxy Middleware in `middlewares.py`

Create a lightweight `ProxyTeeMiddleware` that assigns `request.meta['proxy']` from your pool of ProxyTee ports.

Step 3

3. Enable the Middleware in `settings.py`

Register `ProxyTeeMiddleware` in `DOWNLOADER_MIDDLEWARES` before Scrapy's built-in `HttpProxyMiddleware`.

Step 4

4. Launch Your Spider (`scrapy crawl`)

Run your Scrapy spiders continuously with automatic retry handling and zero per-GB bandwidth charges.

Scrapy Downloader Middleware (`middlewares.py`) for ProxyTee

HTTP / HTTPS / SOCKS5 Ready
import base64
import random

class ProxyTeeDownloaderMiddleware:
    PROXY_PORTS = [
        "http://gate.proxytee.com:8080",
        "http://gate.proxytee.com:8081",
        "http://gate.proxytee.com:8082",
    ]
    PROXY_USER_PASS = b"your_proxytee_username:your_proxytee_password"

    def process_request(self, request, spider):
        request.meta["proxy"] = random.choice(self.PROXY_PORTS)
        encoded = base64.b64encode(self.PROXY_USER_PASS).decode("utf-8")
        request.headers["Proxy-Authorization"] = f"Basic {encoded}"
Unlimited Bandwidth Ports

Flexible pricing plans. Any scale.

Whether you're an individual, a small team, or a growing enterprise, choose the number of concurrent ports that fits your workload.

1 Port

Ideal for personal use or small projects with minimal traffic.

$29/month
  • Unlimited bandwidth
  • 30 million IPs pool
  • 3–60 minutes rotation
  • HTTP & SOCKS5
  • API Access
  • User:pass & IP whitelist
Get started
Best Value

5 Ports

Perfect for small teams or light testing across multiple devices.

$129/month
  • Unlimited bandwidth
  • 30 million IPs pool
  • 3–60 minutes rotation
  • HTTP & SOCKS5
  • API Access
  • User:pass & IP whitelist
Get started

10 Ports

Great for medium-sized teams or projects with moderate traffic.

$229/month
  • Unlimited bandwidth
  • 30 million IPs pool
  • 3–60 minutes rotation
  • HTTP & SOCKS5
  • API Access
  • User:pass & IP whitelist
Get started
High-Volume Credits

Ready to Scale Up?

Credits Plans — Flexible pricing for high-volume users.

Credits Package
Base
Validity: Non-expire
Pro
Validity: 30 days
Pro Max
Validity: 15 days
$1,000 Credits
Save up to 30%
$900$800$700
$2,000 Credits
Save up to 35%
$1,700$1,500$1,300
$5,000 Credits
Save up to 40%
$4,000$3,500$3,000
$10,000 Credits
Save up to 45%
$7,500$6,500$5,500
Use credits to purchase or renew any proxy plan on demand.Select BaseSelect ProSelect Pro Max
Scrapy Framework Proxy FAQs

Frequently Asked Questions About Scrapy Framework Proxies

Subscribe to a multi-port plan (5, 10, 25, 50, or 100 ports) and use random.choice() or round-robin selection in your Scrapy downloader middleware, while each port also auto-rotates its underlying residential IP every 3–60 minutes.