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:
commit
f12e478668
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue