Skip to main content

Scrapy ProxyCrawl Proxy Middleware: ProxyCrawl interfacing middleware for Scrapy

Project description

ProxyCrawl API middleware for Scrapy

Processes Scrapy requests using ProxyCrawl services either with Normal or Javascript tokens


Choose a way of installing:

  • Clone the repository inside your Scrapy project and run the following:
python install
  • Or use PyPi Python package manager. pip install scrapy-proxycrawl-middleware

Then in your Scrapy add the following lines:

# Activate the middleware

# The ProxyCrawl API token you wish to use, either normal of javascript token
PROXYCRAWL_TOKEN = 'your token'

# Enable the middleware
    'scrapy_proxycrawl.ProxyCrawlMiddleware': 610


Use the scrapy_proxycrawl.ProxyCrawlRequest instead of the scrapy built-in Request. The scrapy_proxycrawl.ProxyCrawlRequest accepts additional arguments, used in Proxy Crawl API:

from scrapy_proxycrawl import ProxyCrawlRequest

yield ProxyCrawlRequest(

The target url will be replaced with proxy crawl url and parameters will be encoded into the url by the middleware automatically.

If you have questions or need help using the library, please open an issue or contact us.

Copyright 2020 ProxyCrawl

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for scrapy-proxycrawl-middleware, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size scrapy_proxycrawl_middleware-1.1.0-py2-none-any.whl (10.0 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size scrapy_proxycrawl_middleware-1.1.0-py3-none-any.whl (10.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size scrapy-proxycrawl-middleware-1.1.0.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page