diff --git a/config_yml.yaml b/config_yml.yaml index 50bac22..ac746ec 100644 --- a/config_yml.yaml +++ b/config_yml.yaml @@ -142,44 +142,17 @@ proxy-groups: 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. 独立服务策略组 --- - - name: AI - type: select - proxies: - - 美国故障转移 - - 美国自动 - - 新加坡自动 - - 日本自动 - - 台湾自动 - - 自动选择 - icon: "https://github.com/DustinWin/ruleset_geodata/releases/download/icons/ai.png" - - - name: OpenAI - type: select - proxies: - - 美国故障转移 - - 美国自动 - - 新加坡自动 - - 日本自动 - - 美国节点 - icon: "https://testingcf.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/ChatGPT.png" - - - name: AISTudio - type: select - proxies: - - 美国故障转移 - - 美国自动 - - 新加坡自动 - - 日本自动 - - 美国节点 - icon: "https://testingcf.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Google.png" - - # --- 3. 媒体与系统服务策略组 --- + # --- 2. 媒体与系统服务策略组 --- - name: YouTube type: select proxies: [节点选择, 自动选择, 香港自动, 新加坡自动, 日本自动, 美国自动] icon: "https://testingcf.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/YouTube.png" + - name: Spotify + type: select + proxies: [节点选择, 自动选择, 香港自动, 新加坡自动, 日本自动, 美国自动] + icon: "https://testingcf.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Spotify.png" + - name: 苹果服务 type: select proxies: @@ -194,10 +167,38 @@ proxy-groups: - { 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" } + - name: 美国自动 + type: fallback + proxies: + - p1-美国自动 + - p2-美国自动 + url: "http://cp.cloudflare.com/generate_204" + interval: 120 + lazy: true + icon: "https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/refs/heads/release/icon/color/auto.png" - # --- 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" } + - name: p1-美国自动 + type: url-test + use: [机场01] + url: "http://cp.cloudflare.com/generate_204" + interval: 120 + tolerance: 20 + lazy: true + filter: "(?i)(🇺🇸|美国|US|united\\s?states|america|usa)" + icon: "https://testingcf.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/United_States.png" + + - name: p2-美国自动 + type: url-test + use: [机场02] + url: "http://cp.cloudflare.com/generate_204" + interval: 120 + tolerance: 20 + lazy: true + filter: "(?i)(🇺🇸|美国|US|united\\s?states|america|usa)" + icon: "https://testingcf.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/United_States.png" + + # --- 4.1 地区故障转移组 (保障长连接与高可用) --- + - { 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://testingcf.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/United_States.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" } @@ -234,41 +235,25 @@ 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 - - DOMAIN-KEYWORD,generativeai,AISTudio - - # --- 3. OpenAI 规则 (置顶于通用 AI 规则前) --- - - DOMAIN-SUFFIX,chat.openai.com,OpenAI - - DOMAIN-SUFFIX,openai.com,OpenAI - - DOMAIN-SUFFIX,chatgpt.com,OpenAI - - DOMAIN-SUFFIX,oaistatic.com,OpenAI - - DOMAIN-SUFFIX,oaiusercontent.com,OpenAI - - DOMAIN-KEYWORD,openai,OpenAI - - DOMAIN-KEYWORD,chatgpt,OpenAI - - # --- 4. AI 通用兜底 --- - - RULE-SET,ai,AI - - # --- 5. 媒体专项 --- + # --- 2. 媒体专项 --- - RULE-SET,youtube_domain,YouTube + - RULE-SET,spotify_domain,Spotify - RULE-SET,disney_domain,节点选择 - # --- 6. Google 专项规则 --- + # --- 3. Google 专项规则 --- - RULE-SET,google_domain,美国自动 - # --- 7. Apple 专项规则 --- + # --- 4. Apple 专项规则 --- - RULE-SET,apple_cn_domain,DIRECT - RULE-SET,apple_domain,苹果服务 - # --- 8. IP 专项与国内直连 --- + # --- 5. IP 专项与国内直连 --- - RULE-SET,telegram_ip,自动选择,no-resolve - RULE-SET,geoip_cloudflare,节点选择,no-resolve - RULE-SET,cn_domain,DIRECT - GEOIP,cn,DIRECT - # --- 9. 通用兜底规则 --- + # --- 6. 通用兜底规则 --- - RULE-SET,gfw_domain,节点选择 - RULE-SET,proxy,节点选择 - MATCH,漏网之鱼 @@ -293,8 +278,8 @@ rule-providers: apple_domain: { <<: *domain, path: ./ruleset/apple.mrs, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/apple.mrs" } # 专项服务规则 - ai: { <<: *domain, path: ./ruleset/ai.mrs, url: "https://github.com/DustinWin/ruleset_geodata/releases/download/mihomo-ruleset/ai.mrs" } youtube_domain: { <<: *domain, path: ./ruleset/youtube.mrs, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/youtube.mrs" } + spotify_domain: { <<: *domain, path: ./ruleset/spotify.mrs, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/spotify.mrs" } disney_domain: { <<: *domain, path: ./ruleset/disney.mrs, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/disney.mrs" } google_domain: { <<: *domain, path: ./ruleset/google.mrs, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/google.mrs" } gfw_domain: { <<: *domain, path: ./ruleset/gfw_domain.mrs, url: "https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/gfw.mrs" }