Currectly, it extracts proxy from the following listings:
pip3 install proxy-extractor
git clone https://github.com/Ganofins/proxy-extractor.git && cd proxy-extractor && python3 setup.py install
proxy-extractor is available as both a package as well as a command line program. The relevant documentation can be found below:
The sample program below demonstrates usage of proxy-extractor
library
from proxy_extractor.extractor import extract_proxy
proxy_list = extract_proxy(https=True, proxy_count=10)
print(proxy_list)
it returns output as a list
The arguments https
, proxy_count
and timeout
are optional.
https
to display only https supportable proxiesproxy_count
define number of proxies you want to extract (max. 300)timeout
number of seconds till the script will check if the proxy is working (default: 50)
cli.py
provides a grep-like command line interface to proxy-extractor
library. You will need to install the library first to use it.
python cli.py --https --count 10
--https
to display only https supportable proxies--count
define number of proxies you want to extract (max. 300)--json
to display proxies in json format--timeout
number of seconds till the script will check if the proxy is working (default: 50)
Feel free to contribute to this repository.