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 details)
File details
Details for the file proxylist-0.2.1.tar.gz
.
File metadata
- Download URL: proxylist-0.2.1.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fed1f7a66ebabd135e44841ed0249c63ac30033835f69d357369b2c50428059 |
|
MD5 | 80e8a14d477fc62e2cd0365dfb8a1e66 |
|
BLAKE2b-256 | 6bb8aba9eff7ac8a974130e4e556e122679897d6192c4ae08274be3770638c1c |