Commit f12e4786 authored by Thomas's avatar Thomas
Browse files

Merge branch 'tiktok_t' into 'develop'

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

Closes #85

See merge request !153
parents 20d81436 3f9ce8c1
Pipeline #536996 passed with stage
in 2 minutes and 35 seconds
......@@ -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);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment