Skip to content

Files

Latest commit

 

History

History
42 lines (31 loc) · 1.03 KB

README.md

File metadata and controls

42 lines (31 loc) · 1.03 KB

PyProxyList

PyProxyList — is a free proxy list generator, based on OprahProxy.

Usage

  1. 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);
  2. Import proxy_list.py or proxy_request.py into your python project;
  3. Enjoy.

Demos

ProxyList demo

#!/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

ProxyRequest demo

#!/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']

License

MIT