Kill3rbee / proxylist

Proxy list management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

proxylist

https://travis-ci.org/lorien/proxylist.png?branch=master https://readthedocs.org/projects/proxylist/badge/?version=latest

What is proxylist library?

The proxylist lib is for loading list of proxy servers and rotate/select them in you network client. Proxylist supports loading data from:

  • local file
  • network resource
  • python list of dicts

Usage Example

>>> from proxylist import ProxyList
>>> pl = ProxyList()
>>> pl.load_file('/web/proxy.txt')
>>> pl.random()
<proxylist.base.Proxy object at 0x7f1882d599e8>
>>> pl.random().address()
'1.1.1.1:8085'
>>> len(pl)
1000

Installation

Use pip:

$ pip install -U proxylist

Contribution

Use github to submit bug,fix or wish request: https://github.com/lorien/proxylist/issues

About

Proxy list management

License:MIT License


Languages

Language:Python 96.8%Language:Makefile 3.2%