A simple tool to download proxies from various sources into a file. Made for use with disbalancer.
- Dearchive or clone into disbalancer folder
- Install Pyhon3 if not installed
- Install dependencies:
pip install -r ./requirements.txt
Run python -O ./proxy_tool.py
, proxies will be downloaded into proxies.txt
.
Wait till download finishes, then start disbalancer.
For amd64 windows there is run-disbalancer.ps1
script.
config.json
is a file used to store proxy list links and other configuration data.
A proxy object list:
url
- link to the proxy data. Required.format
- format of the data. Can be [json
,plaintext
]. Forplaintext
data the expected format isip:port
with new lines as delimiter. Forjson
, data format is defined usingJSONPATH
expression. Required.protocol
- can be [socks5
,socks4
,https
,http
] or in case ofjson
format also aJSONPATH
expression. Required.path
-ip_expr|protocol_expr
, whereip_expr
andprotocol_expr
areJSONPATH
expressions. Required forjson
format.
All mentioned JSONPATH
expression are required to describe how to get all instances of required property as a list. For examples see config.json. Jsonpath.com can be used to verify your expressions work.