blackgear / mono_pac

A minimal proxy auto config file generator based on ip range.
MIT License
200 stars 56 forks source link

提示错误了 #15

Open o0HalfLife0o opened 7 years ago

o0HalfLife0o commented 7 years ago
[*****.rhcloud.com src]\> python ./make.py -h
usage: MonoPac [-h] [-b blackList] [-w whiteList] [-i ipList] -p proxyList
               [-os] [-op] [-o pacFile]

Mono Pac Generator

optional arguments:
  -h, --help    show this help message and exit
  -b blackList  Path of the black list
  -w whiteList  Path of the white list
  -i ipList     Path of the iprange list
  -p proxyList  Proxy parameter in the pac file
  -os           Optimize for size
  -op           Optimize for performance
  -o pacFile    Path of the output pac file

Across the Great Firewall, we can reach every corner in the world.
[****.rhcloud.com src]\> python ./make.py -p "SOCKS5 192.168.1.1:1080;SOCKS 192.168.1.1:1080" -o ./proxy.pac
Traceback (most recent call last):
  File "./make.py", line 230, in <module>
    main()
  File "./make.py", line 204, in main
    proxylist = '"{}"'.format(args.proxylist)
ValueError: zero length field name in format