fastProxy
Import Bug

多線程應用程序以刮擦工作網絡代理
pip install fastProxy==1.0.0 git clone https://github.com/1UC1F3R616/fastProxy.git
cd fastProxy/
pip install -r requirements.txt -U
# Basic usage
python cli.py
# With options
python cli.py --c=10 --t=5 --g --a| 旗幟 | 用法 | 目的 | 預設 | 用法 |
|---|---|---|---|---|
| c | 線程計數 | 提高測試速度 | 100 | --c=16 |
| t | 在SEC請求超時 | 設置為較低的值時給出更快的代理 | 4 | --t=20 |
| g | 生成CSV | 僅使用用戶標誌生成代理的CSV | 錯誤的 | --g |
| 一個 | 全部刮擦代理 | 生成所有報廢代理的CSV | 錯誤的 | --a |
| 旗幟 | 用法 | 目的 | 預設 | 用法 |
|---|---|---|---|---|
| c | 線程計數 | 提高測試速度 | 100 | c=256 |
| t | 在SEC請求超時 | 設置為較低的值時給出更快的代理 | 4 | t=2 |
| g | 生成CSV | 僅使用用戶標誌生成代理的CSV | 錯誤的 | g=True |
| 一個 | 全部刮擦代理 | 生成所有報廢代理的CSV | 錯誤的 | a=True |
from fastProxy import fetch_proxies
# Basic usage
proxies = fetch_proxies ()
print ( proxies )
# With options
proxies = fetch_proxies ( c = 10 , t = 5 , g = True , a = True )https://proxyscrape.com/free-proxy-list = display_proxies&proxy_format = protoctorport = protoctorport = protocolpott&formipport&forport&formipport&forport&formipport&fortort&fortorport https://api.proxyscrape.com/v4/free-proxy-list/get?request=display_proxies&proxy_format=protocolipport&format=json fortorport&forport,