diff --git a/fetch_proxies.py b/fetch_proxies.py index bac7133..b5e37c8 100644 --- a/fetch_proxies.py +++ b/fetch_proxies.py @@ -458,17 +458,32 @@ def generate_singbox_config(proxies: List[Dict[str, str]]) -> Dict: "port": 443, "outbound": "block" }, - { - "geosite": "cn", - "outbound": "direct" - }, { "geoip": "cn", "outbound": "direct" }, { - "geosite": "geolocation-!cn", - "outbound": "proxy" + "domain_suffix": [ + ".cn", + ".com.cn", + ".net.cn", + ".org.cn", + ".gov.cn", + ".edu.cn" + ], + "outbound": "direct" + }, + { + "domain_keyword": [ + "baidu", + "taobao", + "qq", + "weixin", + "alipay", + "douyin", + "bilibili" + ], + "outbound": "direct" } ], "auto_detect_interface": True diff --git a/singbox_config.json b/singbox_config.json index c7e09c9..692d181 100644 --- a/singbox_config.json +++ b/singbox_config.json @@ -268,17 +268,32 @@ "port": 443, "outbound": "block" }, - { - "geosite": "cn", - "outbound": "direct" - }, { "geoip": "cn", "outbound": "direct" }, { - "geosite": "geolocation-!cn", - "outbound": "proxy" + "domain_suffix": [ + ".cn", + ".com.cn", + ".net.cn", + ".org.cn", + ".gov.cn", + ".edu.cn" + ], + "outbound": "direct" + }, + { + "domain_keyword": [ + "baidu", + "taobao", + "qq", + "weixin", + "alipay", + "douyin", + "bilibili" + ], + "outbound": "direct" } ], "auto_detect_interface": true diff --git a/user_info.txt b/user_info.txt new file mode 100644 index 0000000..29bbaab --- /dev/null +++ b/user_info.txt @@ -0,0 +1,2 @@ +# Gitea 账号信息 +ben:8d7d70f324796be650b79415303c31f567bf459b \ No newline at end of file