From abda436b1d709daeab6d4981ca67ceeb31460f2f Mon Sep 17 00:00:00 2001 From: xuhaoyang Date: Mon, 2 Aug 2021 10:20:00 +0800 Subject: [PATCH] add PROCESS-NAME --- Clash/Provider/Media/Abema TV.yaml | 1 + Clash/Provider/Media/BBC iPlayer.yaml | 2 +- Clash/Provider/Media/Bahamut.yaml | 1 + Clash/Provider/Media/Bilibili.yaml | 4 +-- Clash/Provider/Media/DAZN.yaml | 2 +- Clash/Provider/Media/Discovery Plus.yaml | 2 +- Clash/Provider/Media/Disney Plus.yaml | 2 +- Clash/Provider/Media/HBO.yaml | 3 +-- Clash/Provider/Media/Hulu Japan.yaml | 1 + Clash/Provider/Media/Hulu.yaml | 1 + Clash/Provider/Media/JOOX.yaml | 5 ++-- Clash/Provider/Media/KKTV.yaml | 3 +-- Clash/Provider/Media/Pandora.yaml | 1 + Clash/Provider/Media/Spotify.yaml | 2 +- Clash/Provider/Media/ViuTV.yaml | 3 ++- Clash/Provider/Media/WeTV.yaml | 2 +- Clash/Provider/Media/YouTube Music.yaml | 4 +-- Clash/Provider/Media/YouTube.yaml | 4 +-- Clash/Provider/Media/encoreTVB.yaml | 2 +- Clash/Provider/Media/iQiyi.yaml | 31 +++++++++--------------- Clash/Provider/Microsoft.yaml | 2 +- Clash/Provider/Telegram.yaml | 11 ++++++--- 22 files changed, 46 insertions(+), 43 deletions(-) diff --git a/Clash/Provider/Media/Abema TV.yaml b/Clash/Provider/Media/Abema TV.yaml index b4c9ba7..2b24588 100644 --- a/Clash/Provider/Media/Abema TV.yaml +++ b/Clash/Provider/Media/Abema TV.yaml @@ -1,6 +1,7 @@ payload: # > AbemaTV # - USER-AGENT,AbemaTV* + - PROCESS-NAME,tv.abema - DOMAIN-SUFFIX,abema.io - DOMAIN-SUFFIX,abema.tv - DOMAIN-SUFFIX,akamaized.net diff --git a/Clash/Provider/Media/BBC iPlayer.yaml b/Clash/Provider/Media/BBC iPlayer.yaml index 75a381f..80e74aa 100644 --- a/Clash/Provider/Media/BBC iPlayer.yaml +++ b/Clash/Provider/Media/BBC iPlayer.yaml @@ -1,6 +1,6 @@ payload: # > BBC iPlayer - # - USER-AGENT,BBCiPlayer* + - PROCESS-NAME,bbc.iplayer.android - DOMAIN-KEYWORD,bbcfmt - DOMAIN,aod-dash-uk-live.akamaized.net - DOMAIN,aod-hls-uk-live.akamaized.net diff --git a/Clash/Provider/Media/Bahamut.yaml b/Clash/Provider/Media/Bahamut.yaml index 0874fee..143f1d4 100644 --- a/Clash/Provider/Media/Bahamut.yaml +++ b/Clash/Provider/Media/Bahamut.yaml @@ -1,6 +1,7 @@ payload: # > Bahamut # - USER-AGENT,Anime* + - PROCESS-NAME,tw.com.gamer.android.animad - DOMAIN-SUFFIX,bahamut.com.tw - DOMAIN-SUFFIX,gamer.com.tw - DOMAIN-SUFFIX,hinet.net diff --git a/Clash/Provider/Media/Bilibili.yaml b/Clash/Provider/Media/Bilibili.yaml index d01a07f..1be055f 100644 --- a/Clash/Provider/Media/Bilibili.yaml +++ b/Clash/Provider/Media/Bilibili.yaml @@ -1,7 +1,7 @@ payload: # > Bilibili - # - USER-AGENT,bili* - # - USER-AGENT,Bilibili* + - PROCESS-NAME,com.bilibili.app.in + - PROCESS-NAME,tv.danmaku.bili - DOMAIN-SUFFIX,acg.tv - DOMAIN-SUFFIX,acgvideo.com - DOMAIN-SUFFIX,b23.tv diff --git a/Clash/Provider/Media/DAZN.yaml b/Clash/Provider/Media/DAZN.yaml index d4eff36..ce8b76b 100644 --- a/Clash/Provider/Media/DAZN.yaml +++ b/Clash/Provider/Media/DAZN.yaml @@ -1,6 +1,6 @@ payload: # > DAZN - # - USER-AGENT,DAZN* + - PROCESS-NAME,com.dazn - DOMAIN,d151l6v8er5bdm.cloudfront.net - DOMAIN,edge.api.brightcove.com - DOMAIN,players.brightcove.net diff --git a/Clash/Provider/Media/Discovery Plus.yaml b/Clash/Provider/Media/Discovery Plus.yaml index 146bb74..0e8a41b 100644 --- a/Clash/Provider/Media/Discovery Plus.yaml +++ b/Clash/Provider/Media/Discovery Plus.yaml @@ -1,6 +1,6 @@ payload: # > Discovery Plus - # - USER-AGENT,DPlus* + - PROCESS-NAME,com.discovery.discoveryplus.mobile - DOMAIN-SUFFIX,content-ause1-ur-discovery1.uplynk.com - DOMAIN-SUFFIX,disco-api.com - DOMAIN-SUFFIX,discoveryplus.com diff --git a/Clash/Provider/Media/Disney Plus.yaml b/Clash/Provider/Media/Disney Plus.yaml index cd2c76b..63e097e 100644 --- a/Clash/Provider/Media/Disney Plus.yaml +++ b/Clash/Provider/Media/Disney Plus.yaml @@ -1,6 +1,6 @@ payload: # > Disney Plus - # - USER-AGENT,Disney* + - PROCESS-NAME,com.disney.disneyplus - DOMAIN-SUFFIX,adobedtm.com - DOMAIN-SUFFIX,bam.nr-date.net - DOMAIN-SUFFIX,bamgrid.com diff --git a/Clash/Provider/Media/HBO.yaml b/Clash/Provider/Media/HBO.yaml index 8ed65c4..df7c362 100644 --- a/Clash/Provider/Media/HBO.yaml +++ b/Clash/Provider/Media/HBO.yaml @@ -1,6 +1,6 @@ payload: # > HBO Max - # - USER-AGENT,HBOMAX* + - PROCESS-NAME,com.hbo.hbonow - DOMAIN-SUFFIX,hbo.com - DOMAIN-SUFFIX,hbogo.com - DOMAIN-SUFFIX,hbonow.com @@ -8,7 +8,6 @@ payload: - DOMAIN-SUFFIX,hbomaxcdn.com # > HBO GO - # - USER-AGENT,HBO%20GO%20PROD%20HKG* - DOMAIN,44wilhpljf.execute-api.ap-southeast-1.amazonaws.com - DOMAIN,bcbolthboa-a.akamaihd.net - DOMAIN,cf-images.ap-southeast-1.prod.boltdns.net diff --git a/Clash/Provider/Media/Hulu Japan.yaml b/Clash/Provider/Media/Hulu Japan.yaml index 8908f36..7c4509e 100644 --- a/Clash/Provider/Media/Hulu Japan.yaml +++ b/Clash/Provider/Media/Hulu Japan.yaml @@ -1,5 +1,6 @@ payload: # > Hulu(フールー) + - PROCESS-NAME,jp.happyon.android - DOMAIN-SUFFIX,happyon.jp - DOMAIN-SUFFIX,hulu.jp - DOMAIN-SUFFIX,prod.hjholdings.tv diff --git a/Clash/Provider/Media/Hulu.yaml b/Clash/Provider/Media/Hulu.yaml index 0ac9b98..2b982cf 100644 --- a/Clash/Provider/Media/Hulu.yaml +++ b/Clash/Provider/Media/Hulu.yaml @@ -1,5 +1,6 @@ payload: # > Hulu + - PROCESS-NAME,com.hulu.plus - DOMAIN-SUFFIX,cws-hulu.conviva.com - DOMAIN-SUFFIX,hulu.com - DOMAIN-SUFFIX,hulu.hb.omtrdc.net diff --git a/Clash/Provider/Media/JOOX.yaml b/Clash/Provider/Media/JOOX.yaml index 5397a01..334c4d7 100644 --- a/Clash/Provider/Media/JOOX.yaml +++ b/Clash/Provider/Media/JOOX.yaml @@ -1,5 +1,6 @@ payload: # > JOOX - # - USER-AGENT,WeMusic* - # - USER-AGENT,JOOX* + - PROCESS-NAME,com.tencent.ibg.joox + - PROCESS-NAME,com.tencent.ibg.jooxtv - DOMAIN-SUFFIX,joox.com + - DOMAIN-KEYWORD,jooxweb-api diff --git a/Clash/Provider/Media/KKTV.yaml b/Clash/Provider/Media/KKTV.yaml index c09752a..b7a4780 100644 --- a/Clash/Provider/Media/KKTV.yaml +++ b/Clash/Provider/Media/KKTV.yaml @@ -1,7 +1,6 @@ payload: # > KKTV - # - USER-AGENT,KKTV* - # - USER-AGENT,com.kktv* + - PROCESS-NAME,com.kktv.kktv - DOMAIN-SUFFIX,kktv.me - DOMAIN-SUFFIX,kktv.com.tw - DOMAIN,kktv-theater.kk.stream diff --git a/Clash/Provider/Media/Pandora.yaml b/Clash/Provider/Media/Pandora.yaml index fed5055..a20a314 100644 --- a/Clash/Provider/Media/Pandora.yaml +++ b/Clash/Provider/Media/Pandora.yaml @@ -1,3 +1,4 @@ payload: # > Pandora + - PROCESS-NAME,com.pandora.android - DOMAIN-SUFFIX,pandora.com \ No newline at end of file diff --git a/Clash/Provider/Media/Spotify.yaml b/Clash/Provider/Media/Spotify.yaml index a0931cb..3199f05 100644 --- a/Clash/Provider/Media/Spotify.yaml +++ b/Clash/Provider/Media/Spotify.yaml @@ -1,6 +1,6 @@ payload: # > Spotify - # - USER-AGENT,Spotify* + - PROCESS-NAME,com.spotify.music - DOMAIN-SUFFIX,pscdn.co - DOMAIN-SUFFIX,scdn.co - DOMAIN-SUFFIX,spoti.fi diff --git a/Clash/Provider/Media/ViuTV.yaml b/Clash/Provider/Media/ViuTV.yaml index 70af882..8b6bb55 100644 --- a/Clash/Provider/Media/ViuTV.yaml +++ b/Clash/Provider/Media/ViuTV.yaml @@ -1,6 +1,7 @@ payload: # > ViuTV - # - USER-AGENT,ViuTV* + - PROCESS-NAME,com.hktve.viutv + - DOMAIN-SUFFIX,bootstrapcdn.com - DOMAIN-SUFFIX,cloudfront.net - DOMAIN-SUFFIX,cognito-identity.us-east-1.amazonaws.com diff --git a/Clash/Provider/Media/WeTV.yaml b/Clash/Provider/Media/WeTV.yaml index 65f0d9e..8d62eca 100644 --- a/Clash/Provider/Media/WeTV.yaml +++ b/Clash/Provider/Media/WeTV.yaml @@ -1,5 +1,5 @@ payload: # > WeTV - # - USER-AGENT,WeTV* + - PROCESS-NAME,com.tencent.qqlivei18n - DOMAIN-SUFFIX,wetv.vip - DOMAIN-SUFFIX,wetvinfo.com \ No newline at end of file diff --git a/Clash/Provider/Media/YouTube Music.yaml b/Clash/Provider/Media/YouTube Music.yaml index 0592b00..40f114a 100644 --- a/Clash/Provider/Media/YouTube Music.yaml +++ b/Clash/Provider/Media/YouTube Music.yaml @@ -1,4 +1,4 @@ payload: # > Youtube Music - # - USER-AGENT,*YouTubeMusic* - # - USER-AGENT,*com.google.ios.youtubemusic* + - PROCESS-NAME,com.google.android.apps.youtube.music + - PROCESS-NAME,com.google.android.youtube.tvmusic diff --git a/Clash/Provider/Media/YouTube.yaml b/Clash/Provider/Media/YouTube.yaml index 27caab6..13828c4 100644 --- a/Clash/Provider/Media/YouTube.yaml +++ b/Clash/Provider/Media/YouTube.yaml @@ -1,7 +1,7 @@ payload: # > Youtube - # - USER-AGENT,*youtube* - # - USER-AGENT,YouTube* + - PROCESS-NAME,com.google.android.youtube + - PROCESS-NAME,com.google.android.youtube.tv - DOMAIN-KEYWORD,youtube - DOMAIN,yt3.ggpht.com - DOMAIN-SUFFIX,googlevideo.com diff --git a/Clash/Provider/Media/encoreTVB.yaml b/Clash/Provider/Media/encoreTVB.yaml index 071a7f8..0d81772 100644 --- a/Clash/Provider/Media/encoreTVB.yaml +++ b/Clash/Provider/Media/encoreTVB.yaml @@ -1,6 +1,6 @@ payload: # > encoreTVB - # - USER-AGENT,encoreTVB* + - PROCESS-NAME,com.tvbusa.encore - DOMAIN-SUFFIX,encoretvb.com - DOMAIN,content.jwplatform.com - DOMAIN,videos-f.jwpsrv.com diff --git a/Clash/Provider/Media/iQiyi.yaml b/Clash/Provider/Media/iQiyi.yaml index f583051..bd13629 100644 --- a/Clash/Provider/Media/iQiyi.yaml +++ b/Clash/Provider/Media/iQiyi.yaml @@ -1,7 +1,6 @@ payload: # > iQiyi - # - USER-AGENT,iQIYI* - # - USER-AGENT,QYPlayer* + - PROCESS-NAME,com.qiyi.video - DOMAIN,intel-cache.m.iqiyi.com - DOMAIN,intel-cache.video.iqiyi.com - DOMAIN,intl-rcd.iqiyi.com @@ -11,21 +10,15 @@ payload: - DOMAIN-SUFFIX,intl.iqiyi.com - DOMAIN-SUFFIX,iq.com - - IP-CIDR,103.44.56.0/22,no-resolve - - IP-CIDR,118.26.120.0/24,no-resolve - - IP-CIDR,118.26.32.0/23,no-resolve - - IP-CIDR,223.119.62.225/28,no-resolve - - IP-CIDR,23.40.241.251/32,no-resolve - - IP-CIDR,23.40.242.10/32,no-resolve + - IP-CIDR,23.211.15.99/32,no-resolve + - IP-CIDR,103.5.34.153/32,no-resolve + - IP-CIDR,104.109.129.153/32,no-resolve + - IP-CIDR,110.238.107.47/32,no-resolve + - IP-CIDR,118.26.32.178/32,no-resolve + - IP-CIDR,203.74.95.131/32,no-resolve + - IP-CIDR,203.74.95.139/32,no-resolve + - IP-CIDR,203.211.4.169/32,no-resolve + - IP-CIDR,203.211.4.193/32,no-resolve + - IP-CIDR,210.201.32.8/32,no-resolve + - IP-CIDR,210.201.32.11/32,no-resolve - # - URL-REGEX,^https?:\/\/int[\w-\.]+iqiyi\.com - - # - DOMAIN,du-feige-intl.iqiyi.com - # - DOMAIN,intl.policy.iqiyi.com - # - DOMAIN,intl-act.vip.iqiyi.com - # - DOMAIN,intl-cmonitor.iqiyi.com - # - DOMAIN,intl-i.vip.iqiyi.com - # - DOMAIN,intl-im-hist-api.iqiyi.com - # - DOMAIN,intl-passport.iqiyi.com - # - DOMAIN,intl-sns.iqiyi.com - # - DOMAIN,msg-intl.qy.net diff --git a/Clash/Provider/Microsoft.yaml b/Clash/Provider/Microsoft.yaml index 62b9f45..fbc6960 100644 --- a/Clash/Provider/Microsoft.yaml +++ b/Clash/Provider/Microsoft.yaml @@ -1,6 +1,6 @@ payload: # > Microsoft - # - USER-AGENT,OneDrive* + - PROCESS-NAME,OneDrive - DOMAIN-KEYWORD,onedrive - DOMAIN-SUFFIX,azure.com - DOMAIN-SUFFIX,fabric.io diff --git a/Clash/Provider/Telegram.yaml b/Clash/Provider/Telegram.yaml index 2e0fa7b..54738f8 100644 --- a/Clash/Provider/Telegram.yaml +++ b/Clash/Provider/Telegram.yaml @@ -1,14 +1,19 @@ payload: # > Telegram + - PROCESS-NAME,org.telegram.messenger + - PROCESS-NAME,Telegram - DOMAIN-SUFFIX,t.me - DOMAIN-SUFFIX,tx.me - DOMAIN-SUFFIX,tdesktop.com - DOMAIN-SUFFIX,telegra.ph - DOMAIN-SUFFIX,telegram.me - DOMAIN-SUFFIX,telegram.org - - IP-CIDR,91.108.0.0/16,no-resolve - - IP-CIDR,109.239.140.0/24,no-resolve + - IP-CIDR,91.108.4.0/22,no-resolve + - IP-CIDR,91.108.8.0/22,no-resolve + - IP-CIDR,91.108.12.0/22,no-resolve + - IP-CIDR,91.108.16.0/22,no-resolve + - IP-CIDR,91.108.56.0/22,no-resolve - IP-CIDR,149.154.160.0/20,no-resolve - - IP-CIDR,2001:67c:4e8::/48,no-resolve - IP-CIDR,2001:b28:f23d::/48,no-resolve - IP-CIDR,2001:b28:f23f::/48,no-resolve + - IP-CIDR,2001:67c:4e8::/48,no-resolve