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.
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
Installation
Run: pip install -U proxylist
Documentation
Documentation is available at http://proxylist.readthedocs.org
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.0.tar.gz
(6.7 kB
view details)
File details
Details for the file proxylist-0.2.0.tar.gz
.
File metadata
- Download URL: proxylist-0.2.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8937d685a90809e0114f0c152d324aad4437bb5a2d11d8e93235d3c74097ebfa |
|
MD5 | f5c608d38e1b5425cae60fa594c27434 |
|
BLAKE2b-256 | 7cd42c712bd22554784b93f8c0effe2665007b1d1ab325dee3bb327346417190 |