# NAME: ZhihuAds # AUTHOR: blackmatrix7 # REPO: https://github.com/blackmatrix7/ios_rule_script # UPDATED: 2021-12-15 22:59:41 # DESCRIPTION: 分流规则中含有URL-REGEX类型,请搭配MITM使用 # DOMAIN: 4 # IP-CIDR: 1 # USER-AGENT: 1 # URL-REGEX: 8 # TOTAL: 14 DOMAIN,118.89.204.198 DOMAIN,appcloud2.in.zhihu.com DOMAIN,mqtt.zhihu.com DOMAIN,sugar.zhihu.com IP-CIDR,118.89.204.198/32,no-resolve USER-AGENT,AVOS* URL-REGEX,"^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\?" URL-REGEX,"^https?:\/\/www\.zhihu\.com\/api\/v4/(questions|anwsers)\/\d+/related-readings" URL-REGEX,"^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations" URL-REGEX,"^https?:\/\/www\.zhihu\.com\/api\/v4\/hot_recommendation" URL-REGEX,"^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\?" URL-REGEX,"^https?:\/\/www\.zhihu\.com\/appview\/(p|v2\/answer|zvideo)\/.*entry=(preload-topstory|preload-search|preload-subscription)" URL-REGEX,"^https?:\/\/www\.zhihu\.com\/commercial_api\/banners_v3\/mobile_banner" URL-REGEX,"^https?:\/\/zhuanlan\.zhihu\.com\/api\/articles\/\d+\/recommendation"