A Scrapy downloader middleware for ScrapingFish
Project description
scrapy-scrapingfish
A Scrapy downloader middleware for ScrapingFish.
Installation
pip install scrapy-scrapingfish
Configuration
Add the following to your Scrapy settings settings.py file:
DOWNLOADER_MIDDLEWARES = {
# Adjust priorty as needed
'scrapy_scrapingfish.middleware.ScrapingFishProxyMiddleware': 760,
}
Set your ScrapingFish API key:
```python
SCRAPINGFISH_API_KEY = "YOUR_SCRAPINGFISH_API_KEY"
Supported parameters
SCRAPINGFISH_API_KEY: str- Your ScrapingFish API key.SCRAPINGFISH_REQUEST_PARAMS: dictAdditional settings for ScrapingFish requests based on official documentation.SCRAPINGFISH_TIMEOUT: int- Timeout for requests in seconds. Default is90.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scrapy_scrapingfish-0.0.1.tar.gz.
File metadata
- Download URL: scrapy_scrapingfish-0.0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d5ea306067076554822991f8bc122a828c66ccbbb3d8722e5e088741ee9faaf
|
|
| MD5 |
83a98cfe5a22976b2da79ae9b814ecd4
|
|
| BLAKE2b-256 |
2ec73fb6e22e27db49bddf48667bcec3b067a7ebbbb18951a07aa5af4b62d489
|
File details
Details for the file scrapy_scrapingfish-0.0.1-py3-none-any.whl.
File metadata
- Download URL: scrapy_scrapingfish-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe009fe5baf60b3e85ca834141dae3b37fb7a1d24c123afab86ad8c88704c5d8
|
|
| MD5 |
6fc171537b0bef61cfd34829f118f596
|
|
| BLAKE2b-256 |
564ca08f9055ed3bbc60b961fb1fa3e7765ebb3d226a05c0d8ba3239171e4f93
|