Create douyin_remove_ads.conf

This commit is contained in:
毒奶博主 2021-03-04 21:45:44 +08:00 committed by GitHub
parent 627a60aa3a
commit 64961a41c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
douyin_remove_ads.conf Normal file
View File

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