Skip to content

Generate action file for privoxy from gfwlist, inspired by clowwindy's gfwlist and modified from it.

License

Notifications You must be signed in to change notification settings

qfrank/gfwlist2privoxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GFWList2Privoxy

Build Status

Usage

Generate action file for privoxy from gfwlist, inspired by clowwindy's gfwlist2pac and modified from it.

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.

Example Action File

An example of generated action file is here.

About

Generate action file for privoxy from gfwlist, inspired by clowwindy's gfwlist and modified from it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.8%
  • Shell 5.2%