Skip to content

Instantly share code, notes, and snippets.

@ppproxy
Last active September 28, 2021 08:41
Show Gist options
  • Save ppproxy/d36ac3ebdbb797a3e5546ef7e6182a96 to your computer and use it in GitHub Desktop.
Save ppproxy/d36ac3ebdbb797a3e5546ef7e6182a96 to your computer and use it in GitHub Desktop.
test for xh
#!name=TikTok Unlock for KR
#!desc=Remove TikTok's regional restrictions.
#!system=ios
[URL Rewrite]
(?<=_region=)CN(?=&) KR 307
(?<=_region1=)CN(?=&) KR 307
(?<=&mcc_mnc=)46000 45005 307
^(https?:\/\/(tnc|dm)[\w-]+\.\w+\.com\/.+)(\?)(.+) $1$3 302
(^https?:\/\/*\.\w{4}okv.com\/.+&.+)(\d{2}\.3\.\d)(.+) $118.0$3 302
[MITM]
hostname = %APPEND% *.tiktokv.com, *.byteoversea.com, *.tik-tokapi.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment