PyProxyList — is a free proxy list generator, based on OprahProxy.
- Download or clone this repository via SSH (
git clone git@github.com:bashkirtsevich/PyProxyList.git
) or HTTPS (git clone https://github.com/bashkirtsevich/PyProxyList.git
); - Import
proxy_list.py
orproxy_request.py
into your python project; - Enjoy.
#!/usr/bin/python
# -*- coding: utf-8 -*-
# import ProxyList
from proxy_list import ProxyList
# call ProxyList constructor
proxy_lit = ProxyList()
# print
print proxy_lit.get_proxies()
# get_proxies returns dictionary of proxy list and authorization login & password
#!/usr/bin/python
# -*- coding: utf-8 -*-
# import ProxyRequest
from proxy_request import ProxyRequest
proxy = ProxyRequest()
print proxy.http_get('http://www.myipaddress.com/show-my-ip-address/')['data']
MIT