Skip to main content

scrapy-requests-downloader

PyPi

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.

Download files

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

Source Distribution

scrapy-requests-downloader-1.0.0.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file scrapy-requests-downloader-1.0.0.tar.gz.

File metadata

File hashes

Hashes for scrapy-requests-downloader-1.0.0.tar.gz
Algorithm Hash digest
SHA256 739ae9243a7252c16f899493b74a08e4aa5e184a30a36f56af1a2f7ffcd75a8b
MD5 0db04972006cb74e89bac59208ba5970
BLAKE2b-256 c70c9680ad1654b5986731926a5bf80d3938bbcc193dc5ba56822c99b778f900

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 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