Transform GWLIST to Privocy Action File
py3-gfwlist2privox的Python项目详细描述
用法
从gfwlist中为privoxy生成动作文件,灵感来自clowwindy的gfwlist2pac,并从中进行了修改。
pip install gfwlist2privoxy usage: main.py [-h] [-i GFWLIST] -f ACTION -p PROXY -t TYPE [--user-rule USER_RULE] detail arguments: -h, --help show this help message and exit -i GFWLIST, --input GFWLIST local path or remote url of gfwlist, ignore to use default address -f ACTION, --file ACTION path to the output action file -p PROXY, --proxy PROXY the proxy in the action file, for example, "127.0.0.1:1080" -t TYPE, --type TYPE the proxy type in the action file, should be one of the followings, "http socks4 socks4a socks5 socks5t" --user-rule USER_RULE user rule file, which will be appended to gfwlist Please set https proxy in your system if you ignore the argument GFWLIST.
操作文件示例
生成的操作文件的示例是here。