scrapy-requests-downloader
Scrapy middleware with requests support as an alternative to Twisted calls.
Dependencies :globe_with_meridians:
Installation :inbox_tray:
This is a python package hosted on pypi, so to install simply run the following command:
pip install scrapy-requests-downloader
Settings
REQUESTS_ENABLED
Whether the requests middle is used to process any request (defaults to false).
Meta field to enable/disable this per request is: requests_enabled
Usage example :eyes:
In order to use this plugin simply add the following settings and substitute your variables:
DOWNLOADER_MIDDLEWARES = {
"requestsmiddleware.middleware.RequestsDownloaderMiddleware": 632
}
In order to use it as a downloader you can add the following to your settings:
REQUESTS_ENABLED = True
This will make every request use requests for a response.
License :memo:
The project is available under the MIT License.
Metadata
Release files for scrapy-requests-downloader 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| scrapy-requests-downloader-1.0.0.tar.gz | 3.9 kB | Without provenance | Details |
Release files / scrapy-requests-downloader-1.0.0.tar.gz
| Download URL | scrapy-requests-downloader-1.0.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
739ae9243a7252c16f899493b74a08e4aa5e184a30a36f56af1a2f7ffcd75a8b
|
|
BLAKE2b-256 checksum How to use checksums |
c70c9680ad1654b5986731926a5bf80d3938bbcc193dc5ba56822c99b778f900
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.10
|
Security for scrapy-requests-downloader 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.