From f4d75f7d48a3f42129e030bef751d4d22bca02da Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Thu, 17 Nov 2022 10:24:07 +0800 Subject: [PATCH] feat: Update AbemaTV --- Clash/RuleSet/StreamingMedia/Streaming.yaml | 3 +++ Clash/RuleSet/StreamingMedia/Video/AbemaTV.yaml | 3 +++ Quantumult/Filter/StreamingMedia/Streaming.list | 3 +++ Quantumult/Filter/StreamingMedia/Video/AbemaTV.list | 3 +++ Quantumult/Rewrite/General.conf | 6 +++--- Surge/Module/General.sgmodule | 6 +++--- Surge/Ruleset/StreamingMedia/Streaming.list | 3 +++ Surge/Ruleset/StreamingMedia/Video/AbemaTV.list | 3 +++ 8 files changed, 24 insertions(+), 6 deletions(-) diff --git a/Clash/RuleSet/StreamingMedia/Streaming.yaml b/Clash/RuleSet/StreamingMedia/Streaming.yaml index f6189d5..f960df6 100644 --- a/Clash/RuleSet/StreamingMedia/Streaming.yaml +++ b/Clash/RuleSet/StreamingMedia/Streaming.yaml @@ -59,8 +59,11 @@ payload: - PROCESS-NAME,tv.abema - DOMAIN-SUFFIX,abema.io - DOMAIN-SUFFIX,abema.tv + - DOMAIN-SUFFIX,abema-tv.com - DOMAIN-SUFFIX,ameba.jp - DOMAIN-SUFFIX,hayabusa.io + - DOMAIN-SUFFIX,hayabusa.media + - DOMAIN,api-abematv.bucketeer.jp - DOMAIN-KEYWORD,abematv.akamaized.net # > All 4 - PROCESS-NAME,com.channel4.ondemand diff --git a/Clash/RuleSet/StreamingMedia/Video/AbemaTV.yaml b/Clash/RuleSet/StreamingMedia/Video/AbemaTV.yaml index 2189841..a4b3297 100644 --- a/Clash/RuleSet/StreamingMedia/Video/AbemaTV.yaml +++ b/Clash/RuleSet/StreamingMedia/Video/AbemaTV.yaml @@ -3,6 +3,9 @@ payload: - PROCESS-NAME,tv.abema - DOMAIN-SUFFIX,abema.io - DOMAIN-SUFFIX,abema.tv + - DOMAIN-SUFFIX,abema-tv.com - DOMAIN-SUFFIX,ameba.jp - DOMAIN-SUFFIX,hayabusa.io + - DOMAIN-SUFFIX,hayabusa.media + - DOMAIN,api-abematv.bucketeer.jp - DOMAIN-KEYWORD,abematv.akamaized.net \ No newline at end of file diff --git a/Quantumult/Filter/StreamingMedia/Streaming.list b/Quantumult/Filter/StreamingMedia/Streaming.list index 625ae26..edb13ed 100644 --- a/Quantumult/Filter/StreamingMedia/Streaming.list +++ b/Quantumult/Filter/StreamingMedia/Streaming.list @@ -59,8 +59,11 @@ DOMAIN-SUFFIX,overcast.fm,Streaming USER-AGENT,AbemaTV*,Streaming DOMAIN-SUFFIX,abema.io,Streaming DOMAIN-SUFFIX,abema.tv,Streaming +DOMAIN-SUFFIX,abema-tv.com,Streaming DOMAIN-SUFFIX,ameba.jp,Streaming DOMAIN-SUFFIX,hayabusa.io,Streaming +DOMAIN-SUFFIX,hayabusa.media,Streaming +DOMAIN,api-abematv.bucketeer.jp,Streaming DOMAIN-KEYWORD,abematv.akamaized.net,Streaming # > All 4 USER-AGENT,All4*,Streaming diff --git a/Quantumult/Filter/StreamingMedia/Video/AbemaTV.list b/Quantumult/Filter/StreamingMedia/Video/AbemaTV.list index 36fb5bc..493ac65 100644 --- a/Quantumult/Filter/StreamingMedia/Video/AbemaTV.list +++ b/Quantumult/Filter/StreamingMedia/Video/AbemaTV.list @@ -2,6 +2,9 @@ USER-AGENT,AbemaTV*,AbemaTV DOMAIN-SUFFIX,abema.io,AbemaTV DOMAIN-SUFFIX,abema.tv,AbemaTV +DOMAIN-SUFFIX,abema-tv.com,AbemaTV DOMAIN-SUFFIX,ameba.jp,AbemaTV DOMAIN-SUFFIX,hayabusa.io,AbemaTV +DOMAIN-SUFFIX,hayabusa.media,AbemaTV +DOMAIN,api-abematv.bucketeer.jp,AbemaTV DOMAIN-KEYWORD,abematv.akamaized.net,AbemaTV \ No newline at end of file diff --git a/Quantumult/Rewrite/General.conf b/Quantumult/Rewrite/General.conf index bd698e6..5d879d4 100644 --- a/Quantumult/Rewrite/General.conf +++ b/Quantumult/Rewrite/General.conf @@ -1,4 +1,4 @@ -hostname = www.google.cn,www.firefox.com.cn,api.abema.io,app.biliintl.com,passport.biliintl.com +hostname = www.google.cn,www.firefox.com.cn,api.*.abema-tv.com,app.biliintl.com,passport.biliintl.com # Redirect Google Search Service ^https?:\/\/(www.)?(g|google)\.cn url 302 https://www.google.com @@ -72,8 +72,8 @@ hostname = www.google.cn,www.firefox.com.cn,api.abema.io,app.biliintl.com,passpo ^https?:\/\/(www.)?zbrushcn.com/ url 302 https://pixologic.com/ ^https?:\/\/(www.)?anydeskchina.cn/ url 302 https://anydesk.com/zhs -# AbeamTV -^https?:\/\/api\.abema\.io\/v\d\/ip\/check url reject-200 +# AbeamTV - api.*.abema-tv.com +^https?:\/\/api\.[\w-]+\.abema-tv\.com\/v\d\/ip\/check url reject-200 # bstar intl (^https?:\/\/app\.biliintl\.com\/(x\/)?(intl|dm|reply|history|v\d\/(fav|msgfeed)).+?)(&s_locale=zh-Hans_[A-Z]{2})(.+?)(&sim_code=\d+)(.+) url 302 $1&s_locale=zh-Hans_PH$6&sim_code=51503$8 diff --git a/Surge/Module/General.sgmodule b/Surge/Module/General.sgmodule index fc8dcdb..f22a381 100644 --- a/Surge/Module/General.sgmodule +++ b/Surge/Module/General.sgmodule @@ -85,8 +85,8 @@ tun-excluded-routes = %APPEND% 239.255.255.250/32 ^https?:\/\/(www.)?yuanchengxiezuo\.com\/ https://www.teamviewer.com/ 302 ^https?:\/\/(www.)?zbrushcn\.com\/ https://pixologic.com/ 302 -# AbeamTV - api.abema.io -^https?:\/\/api\.abema\.io\/v\d\/ip\/check - reject +# AbeamTV - api.*.abema-tv.com +^https?:\/\/api\.[\w-]+\.abema-tv\.com\/v\d\/ip\/check - reject # bstar intl (^https?:\/\/app\.biliintl\.com\/(x\/)?(intl|dm|reply|history|v\d\/(fav|msgfeed)).+?)(&s_locale=zh-Hans_[A-Z]{2})(.+?)(&sim_code=\d+)(.+) $1&s_locale=zh-Hans_PH$6&sim_code=51503$8 header @@ -100,4 +100,4 @@ bstar_login = type=http-request,pattern=^https?:\/\/passport\.biliintl\.com\/x\/ bstar_play = type=http-request,pattern=^https?:\/\/app\.biliintl\.com\/(intl\/gateway\/v\d\/app\/data\/report\/heartbeat\/mobile|x\/(history|reply)/v\d/add),requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Rewrite/bstar.js,script-update-interval=0 [MITM] -hostname = %APPEND% www.google.cn,www.firefox.com.cn,api.abema.io,app.biliintl.com,passport.biliintl.com \ No newline at end of file +hostname = %APPEND% www.google.cn,www.firefox.com.cn,api.*.abema-tv.com,app.biliintl.com,passport.biliintl.com \ No newline at end of file diff --git a/Surge/Ruleset/StreamingMedia/Streaming.list b/Surge/Ruleset/StreamingMedia/Streaming.list index affe60c..1fa6bb1 100644 --- a/Surge/Ruleset/StreamingMedia/Streaming.list +++ b/Surge/Ruleset/StreamingMedia/Streaming.list @@ -59,8 +59,11 @@ DOMAIN-SUFFIX,overcast.fm USER-AGENT,AbemaTV* DOMAIN-SUFFIX,abema.io DOMAIN-SUFFIX,abema.tv +DOMAIN-SUFFIX,abema-tv.com DOMAIN-SUFFIX,ameba.jp DOMAIN-SUFFIX,hayabusa.io +DOMAIN-SUFFIX,hayabusa.media +DOMAIN,api-abematv.bucketeer.jp DOMAIN-KEYWORD,abematv.akamaized.net # > All 4 USER-AGENT,All4* diff --git a/Surge/Ruleset/StreamingMedia/Video/AbemaTV.list b/Surge/Ruleset/StreamingMedia/Video/AbemaTV.list index e8ac37d..c87b8f7 100644 --- a/Surge/Ruleset/StreamingMedia/Video/AbemaTV.list +++ b/Surge/Ruleset/StreamingMedia/Video/AbemaTV.list @@ -2,6 +2,9 @@ USER-AGENT,AbemaTV* DOMAIN-SUFFIX,abema.io DOMAIN-SUFFIX,abema.tv +DOMAIN-SUFFIX,abema-tv.com DOMAIN-SUFFIX,ameba.jp DOMAIN-SUFFIX,hayabusa.io +DOMAIN-SUFFIX,hayabusa.media +DOMAIN,api-abematv.bucketeer.jp DOMAIN-KEYWORD,abematv.akamaized.net \ No newline at end of file