Skip to main content

A simple proxy list fetcher

Project description

Scraproxy

Proxy listing library useful for using with python requests.

Usage

>>> import requests
>>> from scraproxy import Scraproxy

>>> sp = Scraproxy()
>>> sp.fetch_proxies(only_https=True, allow_transparent=False, country='US')

>>> len(sp.proxies)    
>>> requests.get('https://httpbin.org/anything', proxies=sp.random_proxy())

Project details


Download files

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

Source Distribution

scraproxy-0.0.1.tar.gz (1.7 kB view hashes)

Uploaded source

Built Distribution

scraproxy-0.0.1-py3-none-any.whl (3.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page