From c59e6177ddda79eced5bed2f28b07a80df729024 Mon Sep 17 00:00:00 2001 From: blackmatrix7 <27717518+blackmatrix7@users.noreply.github.com> Date: Fri, 14 Apr 2023 00:25:06 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=93=B2=E4=B9=9F]=20=E5=8E=BB=E9=99=A4?= =?UTF-8?q?=E5=9B=9E=E7=AD=94=E4=B8=AD=E7=9A=84=E6=9D=A5=E8=87=AA=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E5=8F=8A=E7=9B=B8=E5=85=B3=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/zheye/zheye.lnplugin | 2 ++ script/zheye/zheye.sgmodule | 2 ++ script/zheye/zheye.snippet | 3 +++ script/zheye/zheye.stoverride | 2 ++ 4 files changed, 9 insertions(+) diff --git a/script/zheye/zheye.lnplugin b/script/zheye/zheye.lnplugin index ac8c8a8af..a351d9dc6 100644 --- a/script/zheye/zheye.lnplugin +++ b/script/zheye/zheye.lnplugin @@ -45,6 +45,8 @@ DOMAIN,appcloud2.in.zhihu.com,REJECT ^https?:\/\/api\.zhihu\.com\/feed\/render\/revisit\/current_reading - reject-dict # 疑似推荐页内容更新红点 ^https?:\/\/api\.zhihu\.com\/feed\/render\/revisit\/tag_config - reject-dict +# 去除回答页的相关搜索 +^https?:\/\/www\.zhihu\.com\/api\/v\d+\/search\/related_queries\/answer - reject-dict # 暂不清楚作用 ^https?:\/\/api\.zhihu\.com\/commercial_api\/banners_v3\/app_topstory_banner - reject-dict ^https?:\/\/api\.zhihu\.com\/ad-style-service\/request - reject-dict diff --git a/script/zheye/zheye.sgmodule b/script/zheye/zheye.sgmodule index 8c6d266f7..ac19a0f63 100644 --- a/script/zheye/zheye.sgmodule +++ b/script/zheye/zheye.sgmodule @@ -41,6 +41,8 @@ DOMAIN,appcloud2.in.zhihu.com,REJECT ^https?:\/\/api\.zhihu\.com\/feed\/render\/revisit\/current_reading data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json" # 疑似推荐页内容更新红点 ^https?:\/\/api\.zhihu\.com\/feed\/render\/revisit\/tag_config data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json" +# 去除回答页的相关搜索 +^https?:\/\/www\.zhihu\.com\/api\/v\d+\/search\/related_queries\/answer data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json" # 暂不清楚作用 ^https?:\/\/api\.zhihu\.com\/commercial_api\/banners_v3\/app_topstory_banner data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json" ^https?:\/\/api\.zhihu\.com\/ad-style-service\/request data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json" diff --git a/script/zheye/zheye.snippet b/script/zheye/zheye.snippet index 26313007b..216973012 100644 --- a/script/zheye/zheye.snippet +++ b/script/zheye/zheye.snippet @@ -46,6 +46,9 @@ # 疑似推荐页内容更新红点 ^https?:\/\/api\.zhihu\.com\/feed\/render\/revisit\/tag_config url reject-dict +# 去除回答页的相关搜索 +^https?:\/\/www\.zhihu\.com\/api\/v\d+\/search\/related_queries\/answer url reject-dict + # 暂不清楚作用 ^https?:\/\/api\.zhihu\.com\/commercial_api\/banners_v3\/app_topstory_banner url reject-dict ^https?:\/\/api\.zhihu\.com\/ad-style-service\/request url reject diff --git a/script/zheye/zheye.stoverride b/script/zheye/zheye.stoverride index 3e279ad65..428955587 100644 --- a/script/zheye/zheye.stoverride +++ b/script/zheye/zheye.stoverride @@ -35,6 +35,8 @@ http: - ^https?:\/\/api\.zhihu\.com\/feed\/render\/revisit\/current_reading - reject-dict # 疑似推荐页内容更新红点 - ^https?:\/\/api\.zhihu\.com\/feed\/render\/revisit\/tag_config url reject-dict + # 去除回答页的相关搜索 + - ^https?:\/\/www\.zhihu\.com\/api\/v\d+\/search\/related_queries\/answer url reject-dict # 暂不清楚作用 - ^https?:\/\/api\.zhihu\.com\/commercial_api\/banners_v3\/app_topstory_banner - reject-dict - ^https?:\/\/api\.zhihu\.com\/ad-style-service\/request - reject-dict