Skip to main content

Need proxy? Catch it.

Project description

Need proxy? You`re welcome.

To parse really big site in a small amount of time you need to make hundreds of requests concurrently and not being banned (that’s mainly impossible to do from one IP).

So, proxipy could help you with this.

It returns a random proxy (or list of proxies) to use it directly in requests module.

Installation

$ pip install proxipy

Usage

First, we need to import our module (and/or requests):

>>> from proxipy import proxipy
>>> import requests

And use it with/out filters:

>>> prox = proxipy()
>>> prox
{'http': ..., 'https': ...}
>>> req = requests.get('http://httpbin.org/get',
...                    proxies=proxipy(country='US', port=8080))
>>> req
<Response [...]>

Project details


Download files

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

Files for proxipy, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size proxipy-1.1-py2.py3-none-any.whl (5.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size proxipy-1.1.tar.gz (17.0 kB) File type Source Python version None Upload date Hashes View

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 Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page