Add tiktok.com/t support (closes #85)

This commit is contained in:
NoPlagiarism 2022-08-15 21:35:57 +05:00
parent 7e73c9c5d0
commit 3f9ce8c1da
1 changed files with 1 additions and 1 deletions

View File

@ -466,7 +466,7 @@ public class Utils {
Matcher matcher = tiktokPattern.matcher(url);
while (matcher.find()) {
String path = matcher.group(2);
if (path == null || path.trim().equals("") || path.startsWith("@") || path.startsWith("music") || path.startsWith("tag")) {
if (path == null || path.trim().equals("") || path.startsWith("@") || path.startsWith("music") || path.startsWith("tag") || path.startsWith("t")) {
newUrl = url.replace(host, proxitokHost);
}
}