- "block list" for persian bad links (https://github.com/MasterKia/PersianBlocker/)
- "white list" for persian sites (https://github.com/SamadiPour/iran-hosted-domains/)
- Cache downloaded lists ("block list" and "white list") and control cache time
- Automatically Use local lists ("block list" and "white list") from files in
sources\iran_domains
if they are not available from web links. you can change pathes and links inoptions.yaml
- python 3 (https://www.python.org/downloads)
- subconverter (https://github.com/tindy2013/subconverter)
- python requirements:
- PyYAML
- requests
-
get and install requirements:
pip install -r requirements.txt
-
copy
options-sample.yaml
tooptions.yaml
and edit it. -
Download subconverter and copy it to subconverter folder or change "subconverter-bin-path" in options.yaml
-
run script:
python ClashGen.py