scrapyx-scraperapi-proxy
Scraper API middleware for Scrapy (http://scrapy.org/)
Processes Scrapy requests a man in the middle proxy service using https://www.scraperapi.com
Required
python version >= 3.6
Install
Checkout the source and run
python setup.py install
Or
pip install scrapyx-scraperapi-proxy
settings.py
# Activate the middleware
SCRAPERAPI_ENABLED = True
# The API key
SCRAPERAPI_KEY='your API key'
# JS Redering
SCRAPERAPI_RENDER = False
# Premium account
SCRAPERAPI_PREMIUM = False
# Geographic Location
SCRAPERAPI_COUNTRY_CODE = '' # 'US', 'UK', ...
DOWNLOADER_MIDDLEWARES = {
'scrapyx_scraperapi.ScraperApiProxyMiddleware': 610,
}
Release files for scrapyx-scraperapi-proxy 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scrapyx-scraperapi-proxy-0.1.3.tar.gz | 2.2 kB | Details |
Release files / scrapyx-scraperapi-proxy-0.1.3.tar.gz
| Download URL | scrapyx-scraperapi-proxy-0.1.3.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
117fc0f247bf7d5d1e13ede1c941449fbf86ca369398b0c00ae5ab014ab14f44
|
|
BLAKE2b-256 checksum How to use checksums |
e0e19db708a3e332b10ca70012f7bf902fc8bd15f1cf7e966047f6f612af34a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.29.1 CPython/2.7.10
|