diff --git a/douyin_remove_ads.conf b/douyin_remove_ads.conf new file mode 100644 index 0000000..451315d --- /dev/null +++ b/douyin_remove_ads.conf @@ -0,0 +1,20 @@ +#https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/douyin/douyin_remove_ads.sgmodule + +#!name=抖音 +#!desc=抖音屏蔽广告与去除水印 +#!system=ios + +[URL Rewrite] +^https?:\/\/.+?\.amemv\.com\/aweme\/v\d\/feed\/ https://aweme.snssdk.com/aweme/v1/feed/ header +^https?:\/\/.+?\.amemv\.com\/aweme\/v\d\/aweme\/post\/ https://aweme.snssdk.com/aweme/v1/aweme/post/ header +^https?:\/\/.+?\.amemv\.com\/aweme\/v\d\/follow\/feed\/ https://aweme.snssdk.com/aweme/v1/follow/feed/ header +^https?:\/\/.+?\.amemv\.com\/aweme\/v\d\/nearby\/feed\/ https://aweme.snssdk.com/aweme/v1/nearby/feed/ header +^https?:\/\/.+?\.amemv\.com\/aweme\/v\d\/search\/item\/ https://aweme.snssdk.com/aweme/v1/search/item/ header +^https?:\/\/.+?\.amemv\.com\/aweme\/v\d\/general\/search\/single\/ https://aweme.snssdk.com/aweme/v1/general/search/single/ header +^https?:\/\/.+?\.amemv\.com\/aweme\/v\d\/hot/search\/video\/list\/ https://aweme.snssdk.com/aweme/v1/hot/search/video/list/ header + +[Script] +douyin_remove_ads = type=http-response,requires-body=1,max-size=-1,pattern=^https?:\/\/aweme\.snssdk\.com\/aweme\/v1\/(feed|aweme\/post|follow\/feed|nearby\/feed|search\/item|general\/search\/single|hot\/search\/video\/list)\/,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/douyin/douyin.js + +[MITM] +hostname = %APPEND% *.amemv.com