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)---