GFWList2PAC
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with breakwa11:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gfwlist2pac
.gitignore
LICENSE
README.md
effective_tld_names.dat
gfwlist.txt
main.py

README.md

GFWList2PAC

Generate O(1) PAC file from gfwlist.

Usage

usage: main.py [-h] [-i GFWLIST] -f PAC -p PROXY [--user-rule USER_RULE]

optional arguments:
  -h, --help            show this help message and exit
  -i GFWLIST, --input GFWLIST
                        path to gfwlist
  -f PAC, --file PAC    path to output pac
  -p PROXY, --proxy PROXY
                        the proxy parameter in the pac file, for example,
                        "SOCKS5 127.0.0.1:1080;"
  --user-rule USER_RULE
                        user rule file, which will be appended to gfwlist

Example

main.py -i gfwlist.txt -f proxy.pac -p "PROXY 127.0.0.1:8087"

you can download gfwlist.txt yourself

you can add a custom list into gfwlist2pac/resources/custom.txt

and add a ban list which you want a direct connection into gfwlist2pac\resources\ban.txt

fork from clowwindy

contect mmgac001[at]gmail.com or comit issues if you have any idea