Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snachx/gfwlist2privoxy
Generate action file for privoxy from gfwlist, inspired by clowwindy's gfwlist and modified from it.
https://github.com/snachx/gfwlist2privoxy
Last synced: 3 months ago
JSON representation
Generate action file for privoxy from gfwlist, inspired by clowwindy's gfwlist and modified from it.
- Host: GitHub
- URL: https://github.com/snachx/gfwlist2privoxy
- Owner: snachx
- License: mit
- Created: 2014-05-10T15:30:40.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-02-26T09:35:26.000Z (11 months ago)
- Last Synced: 2024-10-02T02:24:16.282Z (3 months ago)
- Language: Python
- Homepage:
- Size: 133 KB
- Stars: 123
- Watchers: 6
- Forks: 45
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
- stars - snachx/gfwlist2privoxy
README
GFWList2Privoxy
==============================================================|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_... |Build Status| image:: https://travis-ci.org/snachx/gfwlist2privoxy.png?branch=master
:target: https://travis-ci.org/snachx/gfwlist2privoxy
.. _gfwlist2pac: https://github.com/clowwindy/gfwlist2pac
.. _here: https://github.com/snachx/gfwlist2privoxy/blob/master/test/gfwlist.action