Middleware to easily implement Proxyland in Scrapy projects
Project description
scrapy-proxyland-middleware
This middleware lets you use Proxyland for every request you process with Scrapy.
Settings
You need to specify your package credentials for Proxyland in your settings.py or settings object for this middleware to take effect.
PROXYLAND = {
'username': 'package_username',
'password': 'package_password'
}
You need to also enable ScrapyProxylandMiddleware as well as Scrapy's HttpProxyMiddleware.
DOWNLOADER_MIDDLEWARES = {
'scrapy_proxyland_middleware.ScrapyProxylandMiddleware': 350,
'scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware': 400,
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scrapy-proxyland-middleware-1.0.tar.gz
.
File metadata
- Download URL: scrapy-proxyland-middleware-1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bdfca044371b8f4437c9e2e72b0740d2dbfe76ceeb2e86ab08e5b8323d398a0 |
|
MD5 | cb07fc7e2eefef0dee941a31ad0cc9d3 |
|
BLAKE2b-256 | 20f5135bfd27cfa709da02fa1568cd418d900cbdea3c86a5eddcc8a87cf43b27 |
File details
Details for the file scrapy_proxyland_middleware-1.0-py3-none-any.whl
.
File metadata
- Download URL: scrapy_proxyland_middleware-1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fff49c378296aac8108bd996a401156e64d47c180aae9e562835ba921210ea0 |
|
MD5 | 77ffd48a1f45983e588b13df6bcbbc4d |
|
BLAKE2b-256 | 2a24dd03de127c6d69e5d8f2f961e0df14f81da0d3f6324c069422bc7b934467 |