From a8272d548773362feac696a41b612f6635f067b7 Mon Sep 17 00:00:00 2001 From: king Date: Fri, 15 Aug 2025 20:31:39 +0800 Subject: [PATCH] update Spotify --- Loon/plugin/blockAds.plugin | 4 ++-- QuantumultX/rewrite/rewrite.snippet | 2 +- Surge/module/blockAds.module | 7 +++++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Loon/plugin/blockAds.plugin b/Loon/plugin/blockAds.plugin index e131a31a..78b70562 100644 --- a/Loon/plugin/blockAds.plugin +++ b/Loon/plugin/blockAds.plugin @@ -2375,9 +2375,9 @@ https://api.rr.tv/storage/business/rootName/app/homePage\?dataType=JSON reject-d # >>>>>>>>>>>>>>> ✅ S ✅ <<<<<<<<<<<<<< # > Spotify -# hostname = gae2-spclient.spotify.com, guc3-spclient.spotify.com, spclient.wg.spotify.com +# hostname = *-spclient.spotify.com, spclient.wg.spotify.com ^https:\/\/(?:\w+-spclient|spclient\.wg)\.spotify\.com(?::443)?\/pendragon\/ reject-dict -^https:\/\/(?:\w+-spclient|spclient\.wg)\.spotify\.com(?::443)?\/artistview\/v1\/artist\/(.*)&platform=iphone header https://$1.spotify.com/artistview/v1/artist/$2&platform=ipad +^https:\/\/(?:\w+-spclient|spclient\.wg)\.spotify\.com(?::443)?\/artistview\/v1\/artist\/(.*)&platform=iphone header https://spclient.wg.spotify.com/artistview/v1/artist/$1&platform=ipad # > Soul # hostname = 47.110.187.87, ssp.soulapp.cn, chat-live.soulapp.cn, api-chat.soulapp.cn, api-account.soulapp.cn, api-global.soulapp.me, api-a.soulapp.cn, api-pay.soulapp.cn, gateway-mobile-gray.soulapp.cn, post.soulapp.cn, api-user.soulapp.cn diff --git a/QuantumultX/rewrite/rewrite.snippet b/QuantumultX/rewrite/rewrite.snippet index da30c53d..43ee1b62 100644 --- a/QuantumultX/rewrite/rewrite.snippet +++ b/QuantumultX/rewrite/rewrite.snippet @@ -2158,7 +2158,7 @@ https://api.rr.tv/storage/business/rootName/app/homePage\?dataType=JSON url reje # > Spotify # hostname = *-spclient.spotify.com, spclient.wg.spotify.com ^https:\/\/(?:\w+-spclient|spclient\.wg)\.spotify\.com(?::443)?\/pendragon\/ url reject-dict -^https:\/\/(?:\w+-spclient|spclient\.wg)\.spotify\.com(?::443)?\/artistview\/v1\/artist\/(.*)&platform=iphone url 302 https://$1.spotify.com/artistview/v1/artist/$2&platform=ipad +^https:\/\/(?:\w+-spclient|spclient\.wg)\.spotify\.com(?::443)?\/artistview\/v1\/artist\/(.*)&platform=iphone url 302 https://spclient.wg.spotify.com/artistview/v1/artist/$1&platform=ipad ^https:\/\/(?:\w+-spclient|spclient\.wg)\.spotify\.com(?::443)?\/(?:bootstrap|user-customization-service) url script-request-body https://raw.githubusercontent.com/001ProMax/Surge/refs/heads/main/Script/Spotify.Crack.Dev.js # > Soul diff --git a/Surge/module/blockAds.module b/Surge/module/blockAds.module index 9ec36a55..befa4bc4 100644 --- a/Surge/module/blockAds.module +++ b/Surge/module/blockAds.module @@ -768,7 +768,8 @@ https://access.mypikpak.com/access_controller/v1/area_accessible - reject ^https?:\/\/cms\.daydaycook\.com\.cn\/api\/cms\/advertisement\/ - reject ^https?:\/\/api\.daydaycook\.com\.cn\/daydaycook\/server\/ad\/ - reject -^https:\/\/(?:\w+-spclient|spclient\.wg)\.spotify\.com(?::443)?\/artistview\/v1\/artist\/(.*)&platform=iphone https://$1.spotify.com/artistview/v1/artist/$2&platform=ipad header +# > Spotify +^https:\/\/(?:\w+-spclient|spclient\.wg)\.spotify\.com(?::443)?\/artistview\/v1\/artist\/(.*)&platform=iphone https://spclient.wg.spotify.com/artistview/v1/artist/$1&platform=ipad header # 国际版Soul去广告 https://api-global.soulapp.me/app/open/get - reject @@ -2126,7 +2127,8 @@ https://api.rr.tv/storage/business/rootName/app/homePage\?dataType=JSON data-typ ^https?:\/\/img0[1-9]{1}\.luckincoffeecdn\.com\/group\d/M00/[A-Z0-9]{2}/[A-Z0-9]{2}/[a-zA-Z0-9]{29}\.(jpg|jpeg)_\.webp data-type=text data=" " status-code=200 -# hostname = gae2-spclient.spotify.com, guc3-spclient.spotify.com, spclient.wg.spotify.com +# > Spotify +# hostname = *-spclient.spotify.com, spclient.wg.spotify.com ^https:\/\/(?:\w+-spclient|spclient\.wg)\.spotify\.com(?::443)?\/pendragon\/ data-type=text data="{}" status-code=200 header="Content-Type:application/json" # 信息流,帖子详情页等各种广告 @@ -3390,6 +3392,7 @@ rrtv_json = type=http-response, pattern=https://api.rr.tv/watch/v4, script-path= # RRTV_User_Info rrtv_json = type=http-response, pattern=https://api.rr.tv/user/profile, script-path=https://raw.githubusercontent.com/fmz200/wool_scripts/main/Scripts/rrtv_json.js, requires-body=true, timeout=60 +# > Spotify Spotify.Crack = type=http-response, pattern=^https:\/\/(?:\w+-spclient|spclient\.wg)\.spotify\.com(?::443)?\/(?:bootstrap|user-customization-service), script-path=https://raw.githubusercontent.com/001ProMax/Surge/refs/heads/main/Script/Spotify.Crack.Dev.js, requires-body=true, binary-body-mode=true, timeout=3 # 替换信息收集