forked from ayanamist/sogou-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
mozbugbox edited this page Jul 24, 2012
·
5 revisions
直接使用:
$ ./proxy.py
或者:
$ ./proxy.py --help
usage: proxy.py [-h] [-i IP] [-p PORT] [-t SERVER_TYPE] [-D] [--version]
Forward HTTP/HTTPS traffic to SoGou Proxy servers.
optional arguments:
-h, --help show this help message and exit
-i IP, --ip IP IP address of local network interface for the proxy.
Use '-i ""' to listen on all the local interfaces.
-p PORT, --port PORT Port for the proxy to listen to
-t SERVER_TYPE, --server-type SERVER_TYPE
Proxy type: [edu, ctc, cnc, dxt]
-D, --debug Debug run
--version show program's version number and exit
预设选项可以写在 proxy.ini 文件里,该文件应该与 proxy.py 文件放在同一个目录下,或者放在 ~/.config/sogou-proxy/
目录下。
- 火狐扩展: come2china.
- Google Chrome 扩展: Unblock-Youku.