get free proxy regularly peer 10 minutes
Project description
Free Proxy List For Human
Installing proxys and Supported Versions
proxys is available on PyPI:
$ pip install -U proxys
python usage
# get random proxy from proxys
>>> import proxys
>>> proxy = proxys.get_random_proxy()
>>> print(proxy)
101.109.51.152:8080
# get all proxy from proxys
>>> all_proxy = proxys.get_all_proxy()
>>> all_proxy[:3]
['113.57.84.39:9091', '159.65.134.97:80', '167.71.7.22:80']
# validate the proxy can be use
>>> proxys.validate_proxy(proxy)
True
>>> proxys.validate_proxy("127.0.0.1:80")
False
>>> validated_all_proxy = proxys.validate_proxy_pool(all_proxy[:10])
>>> print(validated_all_proxy)
['113.57.84.39:9091',
'159.65.134.97:80',
'167.71.7.22:80',
'112.49.34.128:9091',
'91.189.177.186:3128',
'114.113.116.67:9091',
'116.130.215.197:3128',
'27.151.3.249:9002']
command line usage
$ wget -O proxys.txt https://ghproxy.com/https://raw.githubusercontent.com/zuoxiaolei/proxys/main/proxys/proxys.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
proxys-0.0.3-py3-none-any.whl
(22.8 kB
view hashes)