Skip to main content

convert gfwlist to privoxy action file

Project description

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.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for py3-gfwlist2privoxy, version 1.0.0
Filename, size & hash File type Python version Upload date
py3_gfwlist2privoxy-1.0.0-py3-none-any.whl (32.7 kB) View hashes Wheel py3
py3-gfwlist2privoxy-1.0.0.tar.gz (31.5 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page