Checkerproxy
A package to easily get a list of proxies from http://checkerproxy.net. Checkerproxy usually returns ~1400 proxies.
Made for Python 3
Installation
Install using pip
pip install Checkerproxy
Example
>>>from Checkerproxy import Checkerproxy
>>>checkp = Checkerproxy()
>>>checkp.proxies[0]
127.0.0.1
>>>checkp.random_proxy()
10.0.13.37
Dependencies:
requests
beautifulsoup4
Checkerproxy object
Attributes:
-
proxies
: list of proxies -
proxies_requests_form
: list of dictionaries used by requests to use the proxy, more info here: http://docs.python-requests.org/en/latest/user/advanced/#proxies
Methods:
-
random_proxy()
: returns a random proxy