# NAME: ZhihuAds
# AUTHOR: blackmatrix7
# REPO: https://github.com/blackmatrix7/ios_rule_script
# UPDATED: 2021-04-17 00:14:37
# DESCRIPTION: 分流规则中含有URL-REGEX类型，请搭配MITM使用
# DOMAIN: 4
# IP-CIDR: 1
# IP-CIDR6: 1
# USER-AGENT: 1
# URL-REGEX: 8
# TOTAL: 15
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
IP-CIDR6,2402:4e00:1200:ed00:0:9089:6dac:96b6/128
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
