1
2
3
pip install gfwlist2pac
curl -o gfwlist.txt https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt
gfwlist2pac -i gfwlist.txt -f pac.txt -p __PROXY__

参考文档

  1. https://github.com/itcook/gfwlist2pac