Skip to main content

Proxy Port integration for Scrapy. About Proxy Port

Prerequisites

To use this package you will need a free API key. Get your API key here. Detailed instructions here.

Installation

$ pip install scrapyproxyport

Getting Started

You need to assign an API key. This can be done either through an environment variable

$ export PROXY_PORT_API_KEY=<API_KEY>

or inside settings.py.

# inside <your_project>/settings.py

PROXY_PORT_API_KEY = '<API_KEY>'
DOWNLOADER_MIDDLEWARES = {
    # Add middleware with order number right before CookiesMiddleware
    'scrapyproxyport.middlewares.ProxyMiddleware': 898,
    'scrapy.downloadermiddlewares.cookies.CookiesMiddleware': 899,
}
DOWNLOAD_TIMEOUT = 10
RETRY_TIMES = 20
DUPEFILTER_CLASS = 'scrapy.dupefilters.BaseDupeFilter'

Example Scrapy project

scrapy-proxyport-example

Metadata

Release files for scrapyproxyport 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scrapyproxyport 1.1.1
File Size Uploaded
scrapyproxyport-1.1.1.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scrapyproxyport 1.1.1
File Interpreter ABI Platform
scrapyproxyport-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.9 kB

Release files / scrapyproxyport-1.1.1.tar.gz

Download URL scrapyproxyport-1.1.1.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1be9633479c04ca34aa074aefa1fad06fb39b206006f1072e4814cad5b5a4347
BLAKE2b-256 checksum
How to use checksums
d1f9068500a949f86849a1d8051bb85990023df82a6d94a20e9562968c3d2156
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / scrapyproxyport-1.1.1-py3-none-any.whl

Download URL scrapyproxyport-1.1.1-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
351899ab71c67f4025124c7f17b1653758ceb3a4425fbff0559f7b677a2f28bf
BLAKE2b-256 checksum
How to use checksums
ee0a4e45b4a67aecbeb8c5bdd798349b27c8f624d11fd3480acdf73fb4c3cf5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.4

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page