diff --git a/Clash/Provider/miHoYo.yaml b/Clash/Provider/miHoYo.yaml new file mode 100644 index 0000000..6c9f3fe --- /dev/null +++ b/Clash/Provider/miHoYo.yaml @@ -0,0 +1,9 @@ +payload: + # > miHoYo + - DOMAIN-SUFFIX,bh3.com + - DOMAIN-SUFFIX,hoyolab.com + - DOMAIN-SUFFIX,hoyoverse.com + - DOMAIN-SUFFIX,mihayo.com + - DOMAIN-SUFFIX,mihoyo.com + - DOMAIN-SUFFIX,miyoushe.com + - DOMAIN-SUFFIX,yuanshen.com diff --git a/Clash/Rule.yaml b/Clash/Rule.yaml index ed04199..b491ee6 100644 --- a/Clash/Rule.yaml +++ b/Clash/Rule.yaml @@ -2,12 +2,10 @@ - RULE-SET,Special,DIRECT - RULE-SET,Netflix,Netflix -- RULE-SET,Spotify,Spotify - +- RULE-SET,Disney Plus,Disney # - RULE-SET,YouTube Music,YouTube - RULE-SET,YouTube,YouTube - -- RULE-SET,Disney Plus,Disney +- RULE-SET,Spotify,Spotify - RULE-SET,Bilibili,Asian TV - RULE-SET,IQ,Asian TV @@ -47,24 +45,23 @@ - RULE-SET,Soundcloud,Global TV - RULE-SET,ViuTV,Global TV -- RULE-SET,Telegram,Telegram -- RULE-SET,Crypto,Crypto -- RULE-SET,Discord,Discord -- RULE-SET,Steam,Steam -- RULE-SET,Speedtest,Speedtest -- RULE-SET,PayPal,PayPal -- RULE-SET,Microsoft,Microsoft -- RULE-SET,ChatGPT,ChatGPT - - RULE-SET,Apple Music,Apple TV - RULE-SET,Apple News,Apple TV - RULE-SET,Apple TV,Apple TV - RULE-SET,Apple,Apple -- RULE-SET,Google FCM,Google FCM +- RULE-SET,Telegram,Telegram +- RULE-SET,ChatGPT,ChatGPT +- RULE-SET,Crypto,Crypto +- RULE-SET,Discord,Discord +- RULE-SET,Google FCM,Google FCM +- RULE-SET,Microsoft,Microsoft +- RULE-SET,PayPal,PayPal - RULE-SET,Scholar,Scholar +- RULE-SET,Speedtest,Speedtest +- RULE-SET,Steam,Steam - RULE-SET,PROXY,Proxy @@ -81,9 +78,9 @@ script: ruleset_action = {"Reject": "AdBlock", "Special": "DIRECT", "Netflix": "Netflix", - "Spotify": "Spotify", - "YouTube": "YouTube", "Disney Plus": "Disney", + "YouTube": "YouTube", + "Spotify": "Spotify", "Bilibili": "Asian TV", "IQ": "Asian TV", "IQIYI": "Asian TV", @@ -119,20 +116,20 @@ script: "Pornhub": "Global TV", "Soundcloud": "Global TV", "ViuTV": "Global TV", - "Telegram": "Telegram", - "Crypto": "Crypto", - "Discord": "Discord", - "Steam": "Steam", - "Speedtest": "Speedtest", - "PayPal": "PayPal", - "Microsoft": "Microsoft", - "ChatGPT": "ChatGPT", "Apple Music": "Apple TV", "Apple News": "Apple TV", "Apple TV": "Apple TV", "Apple": "Apple", + "Telegram": "Telegram", + "ChatGPT": "ChatGPT", + "Crypto": "Crypto", + "Discord": "Discord", "Google FCM": "Google FCM", + "Microsoft": "Microsoft", + "PayPal": "PayPal", "Scholar": "Scholar", + "Speedtest": "Speedtest", + "Steam": "Steam", "PROXY": "Proxy", "Domestic": "Domestic", "Domestic IPs": "Domestic", @@ -179,6 +176,30 @@ rule-providers: url: 'https://dler.cloud/Rules/Clash/Provider/Special.yaml' path: ./Rules/Special interval: 86400 + PROXY: + type: http + behavior: classical + url: 'https://dler.cloud/Rules/Clash/Provider/Proxy.yaml' + path: ./Rules/Proxy + interval: 86400 + Domestic: + type: http + behavior: classical + url: 'https://dler.cloud/Rules/Clash/Provider/Domestic.yaml' + path: ./Rules/Domestic + interval: 86400 + Domestic IPs: + type: http + behavior: ipcidr + url: 'https://dler.cloud/Rules/Clash/Provider/Domestic%20IPs.yaml' + path: ./Rules/Domestic_IPs + interval: 86400 + LAN: + type: http + behavior: classical + url: 'https://dler.cloud/Rules/Clash/Provider/LAN.yaml' + path: ./Rules/LAN + interval: 86400 Netflix: type: http behavior: classical @@ -491,18 +512,6 @@ rule-providers: url: 'https://dler.cloud/Rules/Clash/Provider/ChatGPT.yaml' path: ./Rules/ChatGPT interval: 86400 - PROXY: - type: http - behavior: classical - url: 'https://dler.cloud/Rules/Clash/Provider/Proxy.yaml' - path: ./Rules/Proxy - interval: 86400 - Domestic: - type: http - behavior: classical - url: 'https://dler.cloud/Rules/Clash/Provider/Domestic.yaml' - path: ./Rules/Domestic - interval: 86400 Apple: type: http behavior: classical @@ -521,15 +530,3 @@ rule-providers: url: 'https://dler.cloud/Rules/Clash/Provider/Scholar.yaml' path: ./Rules/Scholar interval: 86400 - Domestic IPs: - type: http - behavior: ipcidr - url: 'https://dler.cloud/Rules/Clash/Provider/Domestic%20IPs.yaml' - path: ./Rules/Domestic_IPs - interval: 86400 - LAN: - type: http - behavior: classical - url: 'https://dler.cloud/Rules/Clash/Provider/LAN.yaml' - path: ./Rules/LAN - interval: 86400 diff --git a/Surge/Surge 2/Rule.conf b/Surge/Surge 2/Rule.conf index c406cb0..9d8e31a 100644 --- a/Surge/Surge 2/Rule.conf +++ b/Surge/Surge 2/Rule.conf @@ -9029,8 +9029,16 @@ DOMAIN-SUFFIX,windows.net,Microsoft # > ChatGPT +DOMAIN-SUFFIX,ai.com,ChatGPT DOMAIN-SUFFIX,openai.com,ChatGPT +# > CDN & API +DOMAIN,chat.openai.com.cdn.cloudflare.net,ChatGPT +DOMAIN,openaiapi-site.azureedge.net,ChatGPT +DOMAIN,openaicom-api-bdcpf8c6d2e9atf6.z01.azurefd.net,ChatGPT +DOMAIN,openaicomproductionae4b.blob.core.windows.net,ChatGPT +DOMAIN,production-openaicom-storage.azureedge.net,ChatGPT + # > TestFlight diff --git a/Surge/Surge 3/Provider/miHoYo.list b/Surge/Surge 3/Provider/miHoYo.list new file mode 100644 index 0000000..2e9b947 --- /dev/null +++ b/Surge/Surge 3/Provider/miHoYo.list @@ -0,0 +1,8 @@ +# > miHoYo +DOMAIN-SUFFIX,bh3.com +DOMAIN-SUFFIX,hoyolab.com +DOMAIN-SUFFIX,hoyoverse.com +DOMAIN-SUFFIX,mihayo.com +DOMAIN-SUFFIX,mihoyo.com +DOMAIN-SUFFIX,miyoushe.com +DOMAIN-SUFFIX,yuanshen.com diff --git a/Surge/Surge 3/Rule.conf b/Surge/Surge 3/Rule.conf index db97037..057ce42 100644 --- a/Surge/Surge 3/Rule.conf +++ b/Surge/Surge 3/Rule.conf @@ -3,11 +3,10 @@ RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Special.list,DIRECT RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Media/Netflix.list,Netflix -RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Media/Spotify.list,Spotify RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Media/Disney%20Plus.list,Disney - -RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Media/YouTube%20Music.list,YouTube RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Media/YouTube.list,YouTube +RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Media/YouTube%20Music.list,YouTube +RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Media/Spotify.list,Spotify RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Media/Bilibili.list,Asian TV RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Media/IQ.list,Asian TV @@ -47,25 +46,23 @@ RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Media/Soundcloud.list,Global TV RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Media/ViuTV.list,Global TV -RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Telegram.list,Telegram -RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Crypto.list,Crypto -RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Discord.list,Discord -RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Steam.list,Steam -RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Speedtest.list,Speedtest -RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/PayPal.list,PayPal -RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Microsoft.list,Microsoft - RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Media/Apple%20Music.list,Apple TV RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Media/Apple%20News.list,Apple TV RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Media/Apple%20TV.list,Apple TV RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Apple.list,Apple -RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Google%20FCM.list,Google FCM - -RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Scholar.list,Scholar +RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Telegram.list,Telegram RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/ChatGPT.list,ChatGPT +RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Crypto.list,Crypto +RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Discord.list,Discord +RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Google%20FCM.list,Google FCM +RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Microsoft.list,Microsoft +RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/PayPal.list,PayPal +RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Scholar.list,Scholar +RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Speedtest.list,Speedtest +RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Steam.list,Steam RULE-SET,https://cdn.jsdelivr.net/gh/dler-io/Rules@main/Surge/Surge%203/Provider/Proxy.list,Proxy