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.

It requires Python 3.6+ to run, if you need to run it under Python 2.7.x, please use 1.x of gfwlist2privoxy.

pip install gfwlist2privoxy

usage: gfwlist2privoxy [-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


Download files

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

Source Distribution

gfwlist2privoxy-2.0.0.tar.gz (37.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gfwlist2privoxy-2.0.0-py3-none-any.whl (37.9 kB view details)

Uploaded Python 3

File details

Details for the file gfwlist2privoxy-2.0.0.tar.gz.

File metadata

  • Download URL: gfwlist2privoxy-2.0.0.tar.gz
  • Upload date:
  • Size: 37.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.13

File hashes

Hashes for gfwlist2privoxy-2.0.0.tar.gz
Algorithm Hash digest
SHA256 371350ec23de303799f53cb35afa9666a5aa44700c2bbf6bb45334a53a567f99
MD5 9f5ef2bf5d95b9a05fbf6fe8119b778e
BLAKE2b-256 2e2181fca7dc18450f8569bd221288687e948f6479038b3f720836fcd18ec5ec

See more details on using hashes here.

File details

Details for the file gfwlist2privoxy-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gfwlist2privoxy-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8fedd2599bfdd126603731aa53a9b252fc6ee9f3d7c062540109f21dfbb729b
MD5 8f82ac72c162c2d793aacb3e1ac351fc
BLAKE2b-256 d79549f8e9985ab675ddab16bf6ae9ebbdab08e22cc6fd5c2c01d39a5dce16c7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page