TiKTok 地区自由切换(封区解锁)和去水印。Unlock region limit & Remove the watermark when downloading. Those configuration are specific to shadowroket app. 此配置完美适用于小火箭,可以复制粘贴到自己现有的规则中使用。surge3版本请访问 @Choler同学的 https://github.com/Choler/TikTok.
针对昨天小火箭的大更新(2.1.24)原版规则需要修改,否则可能导致闪退 针对昨天小火箭的大更新(2.1.24)原版规则需要修改,否则可能导致闪退
新版shadowroket,对应规则:
[Rule]
DOMAIN,api-h2.tiktokv.com,PROXY
DOMAIN,api2-16-h2.musical.ly,PROXY
[URL Rewrite]
((carrier|account|sys)_region=)CN ((carrier|account|sys)_region=)jp 302
(.*video_id=\w{32})(.*watermark=)(.*) (.*video_id=\w{32})(.*watermark=)(.*)$1 302
[MITM]
hostname = ,api*.tiktokv.com,*.musical.ly,
-------------------------------- 原文 ---------------------------
[Rule]
DOMAIN,api-h2.tiktokv.com,PROXY
DOMAIN,api2-16-h2.musical.ly,PROXY
DOMAIN,api2-19-h2.musical.ly,PROXY
[URL Rewrite]
(.*video_id=\w{32})(.*watermark=)(.*) $1 302
((carrier|account|sys)_region=)CN JP 302
[MITM]
hostname = ,api*.tiktokv.com,*.musical.ly,
enable = true
For using MITM, you need A CA Certificate in shadowroket app.
If you had never set a CA before. you need to set it first by following this:
- Generate A CA Certificate.
- install this New CA Certificate on your iphone.
- go to Settings -> General -> About ->Certificate Trust Settings to enable Shadowrocket certificate after the installation is completed.
Then add Those configuration to your config file to enjoy it.
If you need, you can watch videos from different nations. Just modifying the second region codeJP
in((carrier|account|sys)_region=)CN JP 302
(default is JP
means transfer to Japan).
e.g
to US : ((carrier|account|sys)_region=)CN US 302
to UK : ((carrier|account|sys)_region=)CN UK 302
to Taiwan Province: ((carrier|account|sys)_region=)CN TW 302
1
next:
2
next:
3
next:
4
next:
5
next:
6
next:
7
next:
8
next:
9
next:
10
next:
11
next:
12
next:
13
next:
14
next:
15
next:
16
---------Over.