diff --git a/config_yml.yaml b/config_yml.yaml index 963c425..50bac22 100644 --- a/config_yml.yaml +++ b/config_yml.yaml @@ -29,7 +29,10 @@ p-common: &p-common udp: true interval: 86400 proxy: DIRECT - health-check: { enable: true, url: "http://www.gstatic.com/generate_204", interval: 600 } + health-check: + enable: true + url: "http://cp.cloudflare.com/generate_204" + interval: 180 proxy-providers: 机场01: @@ -125,39 +128,25 @@ proxy-groups: - name: 自动选择 type: url-test <<: *u_s - url: http://www.gstatic.com/generate_204 - interval: 300 - tolerance: 50 + url: http://cp.cloudflare.com/generate_204 + interval: 120 + tolerance: 20 + lazy: true icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/icon/color/urltest.png" - name: 故障转移 type: fallback <<: *u_b - url: http://www.gstatic.com/generate_204 - interval: 300 + url: http://cp.cloudflare.com/generate_204 + interval: 120 + lazy: true icon: "https://is1-ssl.mzstatic.com/image/thumb/Purple123/v4/77/7e/5a/777e5a23-cdcc-07e3-bac6-e691fa413307/AppIconok-0-0-1x_U007emarketing-0-0-0-10-0-85-220.png/400x400ia-75.webp" - # --- 2. 独立服务策略组(包含 GateAI UI 可选组) --- - - name: GateAI - type: select - proxies: - - 专属-Socks5 - - 节点选择 - - 美国节点 - - 新加坡节点 - - 日本节点 - - 香港节点 - - 台湾节点 - - 美国自动 - - 新加坡自动 - - 日本自动 - - 全部节点 - - DIRECT - icon: "https://testingcf.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Bot.png" - + # --- 2. 独立服务策略组 --- - name: AI type: select proxies: + - 美国故障转移 - 美国自动 - 新加坡自动 - 日本自动 @@ -168,6 +157,7 @@ proxy-groups: - name: OpenAI type: select proxies: + - 美国故障转移 - 美国自动 - 新加坡自动 - 日本自动 @@ -177,6 +167,7 @@ proxy-groups: - name: AISTudio type: select proxies: + - 美国故障转移 - 美国自动 - 新加坡自动 - 日本自动 @@ -186,7 +177,7 @@ proxy-groups: # --- 3. 媒体与系统服务策略组 --- - name: YouTube type: select - proxies: [节点选择, 自动选择, 美国自动, 新加坡自动, 香港自动] + proxies: [节点选择, 自动选择, 香港自动, 新加坡自动, 日本自动, 美国自动] icon: "https://testingcf.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/YouTube.png" - name: 苹果服务 @@ -194,18 +185,21 @@ proxy-groups: proxies: - DIRECT - 节点选择 - - 美国自动 - 香港自动 + - 美国自动 icon: "https://testingcf.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Apple.png" - # --- 4. 地区优选组 (自动测速,供策略组调用) --- - - { name: 香港自动, type: url-test, <<: *u_s, tolerance: 50, interval: 300, filter: "(?i)(香港|hk|🇭🇰|hong\\s?kong)", icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/release/icon/color/auto.png" } - - { name: 台湾自动, type: url-test, <<: *u_s, tolerance: 50, interval: 300, filter: "(?i)(台湾|tw|🇹🇼|taiwan|新北|台中|台北)", icon: "https://testingcf.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Taiwan.png" } - - { name: 新加坡自动, type: url-test, <<: *u_s, tolerance: 50, interval: 300, filter: "(?i)(🇸🇬|新加坡|狮城|SG|Singapore)", icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/release/icon/color/auto.png" } - - { name: 日本自动, type: url-test, <<: *u_s, tolerance: 50, interval: 300, filter: "(?i)(🇯🇵|日本|东京|大阪|JP|Japan)", icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/release/icon/color/auto.png" } - - { name: 美国自动, type: url-test, <<: *u_s, tolerance: 50, interval: 300, filter: "(?i)(🇺🇸|美国|US|united\\s?states|america|usa)", icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/release/icon/color/auto.png" } + # --- 4. 地区优选组 (自动测速) --- + - { name: 香港自动, type: url-test, <<: *u_s, tolerance: 20, interval: 120, lazy: true, url: "http://cp.cloudflare.com/generate_204", filter: "(?i)(香港|hk|🇭🇰|hong\\s?kong)", icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/release/icon/color/auto.png" } + - { name: 台湾自动, type: url-test, <<: *u_s, tolerance: 20, interval: 120, lazy: true, url: "http://cp.cloudflare.com/generate_204", filter: "(?i)(台湾|tw|🇹🇼|taiwan|新北|台中|台北)", icon: "https://testingcf.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Taiwan.png" } + - { name: 新加坡自动, type: url-test, <<: *u_s, tolerance: 20, interval: 120, lazy: true, url: "http://cp.cloudflare.com/generate_204", filter: "(?i)(🇸🇬|新加坡|狮城|SG|Singapore)", icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/release/icon/color/auto.png" } + - { name: 日本自动, type: url-test, <<: *u_s, tolerance: 20, interval: 120, lazy: true, url: "http://cp.cloudflare.com/generate_204", filter: "(?i)(🇯🇵|日本|东京|大阪|JP|Japan)", icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/release/icon/color/auto.png" } + - { name: 美国自动, type: url-test, <<: *u_s, tolerance: 20, interval: 120, lazy: true, url: "http://cp.cloudflare.com/generate_204", filter: "(?i)(🇺🇸|美国|US|united\\s?states|america|usa)", icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/release/icon/color/auto.png" } - # --- 5. 地区节点组 (手动选择,展示所有节点) --- + # --- 4.1 地区故障转移组 (用于 AI 业务,保障长连接稳定性) --- + - { name: 美国故障转移, type: fallback, <<: *u_s, interval: 60, lazy: true, url: "http://cp.cloudflare.com/generate_204", filter: "(?i)(🇺🇸|美国|US|united\\s?states|america|usa)", icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/release/icon/color/fallback.png" } + + # --- 5. 地区节点组 (手动选择) --- - { name: 香港节点, type: select, <<: *u, include-all: true, filter: "(?i)(香港|hk|🇭🇰|hong\\s?kong)", icon: "https://testingcf.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Hong_Kong.png" } - { name: 台湾节点, type: select, <<: *u, include-all: true, filter: "(?i)(台湾|tw|🇹🇼|taiwan)", icon: "https://testingcf.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Taiwan.png" } - { name: 新加坡节点, type: select, <<: *u, include-all: true, filter: "(?i)(🇸🇬|新加坡|狮城|SG|Singapore)", icon: "https://testingcf.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Singapore.png" } @@ -226,7 +220,6 @@ rules: - DOMAIN-SUFFIX,sky1818.com,新加坡节点 - DOMAIN-SUFFIX,anyrouter.top,新加坡节点 - DOMAIN-SUFFIX,51688.qzz.io,美国节点 - - DOMAIN-SUFFIX,gateai.cc,GateAI - DOMAIN-SUFFIX,hybgzs.com,DIRECT - DOMAIN-SUFFIX,baidu.com,DIRECT - DOMAIN-SUFFIX,bing.com,DIRECT @@ -241,7 +234,6 @@ rules: - DOMAIN-SUFFIX,run.app,专属-Socks5 - DOMAIN,daily-cloudcode-pa.googleapis.com,专属-Socks5 - # --- 2. Google AISTudio 规则 (置顶于普通 Google 规则前) --- - DOMAIN-SUFFIX,aistudio.google.com,AISTudio - DOMAIN-KEYWORD,aistudio,AISTudio