Awesome
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