mirror of
https://framagit.org/tom79/nitterizeme
synced 2025-01-03 12:09:30 +01:00
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
Block a user