From ec26f6c6d9f361ec892d97afd0341e50377eab75 Mon Sep 17 00:00:00 2001 From: Conners Hua Date: Sun, 13 Jun 2021 22:47:14 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Quantumult/Rewrite/Block/AdvertisingPlus.conf | 2 +- Surge/Module/Block/AdvertisingPlus.sgmodule | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Quantumult/Rewrite/Block/AdvertisingPlus.conf b/Quantumult/Rewrite/Block/AdvertisingPlus.conf index e386f0e..fc3d62e 100644 --- a/Quantumult/Rewrite/Block/AdvertisingPlus.conf +++ b/Quantumult/Rewrite/Block/AdvertisingPlus.conf @@ -2,7 +2,7 @@ hostname = api.weibo.cn,mapi.weibo.com,*.uve.weibo.com,www.zhihu.com,api.zhihu.c # ---(By Choler)--- # > Douyin(<= 16.2.0) - api?-*-*-*.amemv.com -^https?:\/\/api.*\.amemv\.com\/aweme\/v\d\/ url request-header ^GET \/aweme\/v\d\/(.+\r\n) request-header GET /aweme/v1/$1 +^https?:\/\/api.*\.amemv\.com\/aweme\/v\d\/(?!(comment|namek)) url request-header ^GET \/aweme\/v\d\/(.+\r\n) request-header GET /aweme/v1/$1 ^https?:\/\/api.*\.amemv\.com\/aweme\/v[12]\/((|follow\/|nearby\/)feed|aweme\/post|hot\/search\/video\/list|mix\/aweme|aweme\/detail)\/\? url script-response-body https://raw.githubusercontent.com/Choler/Surge/master/Script/douyin.js # ------ diff --git a/Surge/Module/Block/AdvertisingPlus.sgmodule b/Surge/Module/Block/AdvertisingPlus.sgmodule index 14535d5..f3dbcb5 100644 --- a/Surge/Module/Block/AdvertisingPlus.sgmodule +++ b/Surge/Module/Block/AdvertisingPlus.sgmodule @@ -4,7 +4,7 @@ [URL Rewrite] # > Douyin(<= 16.2.0) By Choler -^https?:\/\/api.*\.amemv\.com\/aweme\/v\d\/ https://aweme.snssdk.com/aweme/v1/ header +^https?:\/\/api.*\.amemv\.com\/aweme\/v\d\/(?!(comment|namek)) https://aweme.snssdk.com/aweme/v1/ header [Map Local] # ---(By blackmatrix7)---