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,
}
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file scrapyx-scraperapi-proxy-0.1.3.tar.gz.
File metadata
- Download URL: scrapyx-scraperapi-proxy-0.1.3.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
117fc0f247bf7d5d1e13ede1c941449fbf86ca369398b0c00ae5ab014ab14f44
|
|
| MD5 |
a03e8db86578414031dacdc2c4b1ae9c
|
|
| BLAKE2b-256 |
e0e19db708a3e332b10ca70012f7bf902fc8bd15f1cf7e966047f6f612af34a7
|