Skip to main content

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)

Source distribution for scrapyx-scraperapi-proxy 0.1.3
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

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file

0.1.2

2 release files

0.1.1

2 release files

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