Skip to content

Instantly share code, notes, and snippets.

@ppproxy
Last active January 4, 2021 06:44
Show Gist options
  • Save ppproxy/35612377d1b026bd32fdea5014503572 to your computer and use it in GitHub Desktop.
Save ppproxy/35612377d1b026bd32fdea5014503572 to your computer and use it in GitHub Desktop.
#!name=TikTok Unlock for US
#!desc=Remove TikTok's regional restrictions.
#!system=ios
[URL Rewrite]
(?<=_region=)CN(?=&) US 307
(?<=&mcc_mnc=)4 2 307
(?<=&app_version=)1[6-9]..(?=.?.?&) 100. 307
(?<=\?version_code=)1[6-9]..(?=.?.?&) 100. 307
^(https?:\/\/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, *.musical.ly, *.snssdk.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment