mirror of
https://github.com/blackmatrix7/ios_rule_script.git
synced 2024-11-15 13:18:29 +08:00
36 lines
987 B
Plaintext
36 lines
987 B
Plaintext
#!name= TikTokTW
|
|
#!desc= 最后更新时间 2022-08-05 22:38:27
|
|
#!openUrl= https://github.com/Semporia/TikTok-Unlock
|
|
#!author= Semporia
|
|
#!homepage= https://github.com/Semporia/TikTok-Unlock
|
|
#!icon= https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/avatar.jpg
|
|
#!domain-keyword= 1
|
|
#!domain-suffix= 9
|
|
#!user-agent= 1
|
|
#!redirect= 5
|
|
#!mitm= 3
|
|
#!total= 19
|
|
|
|
[Rule]
|
|
DOMAIN-KEYWORD,-tiktokcdn-com
|
|
DOMAIN-SUFFIX,byteoversea.com
|
|
DOMAIN-SUFFIX,ibytedtos.com
|
|
DOMAIN-SUFFIX,ipstatp.com
|
|
DOMAIN-SUFFIX,muscdn.com
|
|
DOMAIN-SUFFIX,musical.ly
|
|
DOMAIN-SUFFIX,tik-tokapi.com
|
|
DOMAIN-SUFFIX,tiktok.com
|
|
DOMAIN-SUFFIX,tiktokcdn.com
|
|
DOMAIN-SUFFIX,tiktokv.com
|
|
USER-AGENT,tiktok*
|
|
|
|
|
|
[URL Rewrite]
|
|
(?<=&mcc_mnc=)4 2 307
|
|
(?<=\d\/\?\w{7}_\w{4}=)1[6-9]..(?=.?.?&) 18.4 307
|
|
(?<=_region=)CN(?=&) TW 307
|
|
(^https?:\/\/*\.\w{4}okv.com\/.+&.+)(\d{2}\.3\.\d)(.+) $118.0$3 302
|
|
^(https?:\/\/(tnc|dm)[\w-]+\.\w+\.com\/.+)(\?)(.+) $1$3 302
|
|
|
|
[MITM]
|
|
hostname = *.byteoversea.com,*.tik-tokapi.com,*.tiktokv.com |