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 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page