Merge branch 'tiktok_t' into 'develop'

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

Closes #85

See merge request tom79/nitterizeme!153
This commit is contained in:
Thomas 2022-09-30 12:54:18 +00:00
commit f12e478668
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,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);
}
}