convert gfwlist to privoxy action file
Project description
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
371350ec23de303799f53cb35afa9666a5aa44700c2bbf6bb45334a53a567f99
|
|
| MD5 |
9f5ef2bf5d95b9a05fbf6fe8119b778e
|
|
| BLAKE2b-256 |
2e2181fca7dc18450f8569bd221288687e948f6479038b3f720836fcd18ec5ec
|
File details
Details for the file gfwlist2privoxy-2.0.0-py3-none-any.whl.
File metadata
- Download URL: gfwlist2privoxy-2.0.0-py3-none-any.whl
- Upload date:
- Size: 37.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8fedd2599bfdd126603731aa53a9b252fc6ee9f3d7c062540109f21dfbb729b
|
|
| MD5 |
8f82ac72c162c2d793aacb3e1ac351fc
|
|
| BLAKE2b-256 |
d79549f8e9985ab675ddab16bf6ae9ebbdab08e22cc6fd5c2c01d39a5dce16c7
|