genpac icon indicating copy to clipboard operation
genpac copied to clipboard

PAC/Dnsmasq/Wingy file Generator, working with gfwlist, support custom rules.

Results 18 genpac issues
Sort by recently updated
recently updated
newest added

Quick fix: ```python try: from collections import Callable except ImportError: from collections.abc import Callable ```

winxray 里面有一个同步最新的pac功能,但是同步的pac里面可能不是很全,我自己本地有一些记录的, 我现在是每次同步后再编辑把我自己的加进去,每次都这样很麻烦,怎样才能让同步最新的pac的时候同时又让我本地的pac生效。谢谢了。

genpac --proxy="SOCKS5 127.0.0.1:1080" --gfwlist-proxy="SOCKS5 127.0.0.1:1080" --gfwlist-local="~/gfwlist.txt" --output="~/autoproxy.pac" 把gfwlist.txt下载下来,改为URL等方式,都无法生成autoproxy.pac!!! 无语。。。。

--user-rule-from ```shell @@||dl.google.com @@||kh.google.com @@||khm.google.com @@||khm0.google.com @@||khm1.google.com @@||khm2.google.com @@||khm3.google.com @@||khmdb.google.com @@||tools.google.com @@||clientservices.googleapis.com @@||fonts.googleapis.com @@||khm.googleapis.com @@||khm0.googleapis.com @@||khm1.googleapis.com @@||khm2.googleapis.com @@||khm3.googleapis.com @@||khmdb.googleapis.com ||storage.googleapis.com ||googleapis.cn ||googleapis.com ``` after genpac: ```json [ "google.com" ], [...

一些程序,如Firefox,不能正确处理pac文件中单引号内的多项代理规则,比如 'SOCKS5 127.0.0.1:1089; SOCKS 127.0.0.1:1089' 会优先使用 SOCKS 代理而不是 SOCKS5 代理,将单引号改成双引号即可解决此问题。

There is a small typo in genpac/publicsuffixlist/__init__.py. Should read `parsing` rather than `parseing`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

is it good for pac mechanism? this abp.js file from GFWList2PAC, and still can be install by python2 pip This file is part of Adblock Plus http://adblockplus.org/ see it: https://gist.github.com/cc978/72de37fd965c01bfb161929b99755015

我想照着其他formater来写个bind formater来生成bind 9 用的zone文件的,但是使用`pipreqs`包生成的`requirements.txt`安装后出现以下错误: ```powershell λ python -m genpac -h Traceback (most recent call last): File "d:\portablefiles\scoop\apps\python\current\lib\runpy.py", line 184, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "d:\portablefiles\scoop\apps\python\current\lib\runpy.py", line...