Package to manage list of proxy servers
Project description
Proxylist Package
The proxylist package provides function and classes for:
- loading list of proxy servers from different sources like local file or network location
- rotating proxy servers or picking them randomly
Feel free to give feedback in Telegram groups: @grablab and @grablab_ru.
Installation
Run: pip install -U proxylist
Documentation
Documentation is available at https://proxylist.readthedocs.io
Usage Example
>>> from proxylist import ProxyList
>>> pl = ProxyList.from_local_file('var/proxy.txt')
>>> pl.get_random_server()
<proxylist.server.ProxyServer object at 0x7f1882d599e8>
>>> pl.get_random_server().address()
'1.1.1.1:8085'
>>> len(pl)
1000
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
proxylist-0.2.1.tar.gz
(6.8 kB
view hashes)