Add tiktok.com/t support (closes #85)
This commit is contained in:
parent
7e73c9c5d0
commit
3f9ce8c1da
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue