Pinanchen / TikTok-Free

TiKTok 地区自由切换(封区解锁)和去水印。小火箭的配置 shadowroket 。Unlock region limit& Removed the watermark when downloading.
122 stars 9 forks source link

TikTok-Free

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:

  1. Generate A CA Certificate.
  2. install this New CA Certificate on your iphone.
  3. 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.




tips:

If you need, you can watch videos from different nations. Just modifying the second region codeJPin((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

For greenhand:

1
TikTok-Free
next: 2
TikTok-Free
next: 3
TikTok-Free
next: 4
TikTok-Free
next: 5
TikTok-Free
next: 6
TikTok-Free
next: 7
TikTok-Free
next: 8
TikTok-Free
next: 9
TikTok-Free
next: 10
TikTok-Free
next: 11
TikTok-Free
next: 12
TikTok-Free
next: 13
TikTok-Free
next: 14
TikTok-Free
next: 15
TikTok-Free
next: 16
TikTok-Free

---------Over.