invidious shortened links
This commit is contained in:
parent
e8e535b815
commit
9701c7d800
1 changed files with 6 additions and 1 deletions
|
@ -190,7 +190,12 @@ public class YoutubeStreamLinkHandlerFactory extends LinkHandlerFactory {
|
|||
return assertIsID(id);
|
||||
}
|
||||
|
||||
break;
|
||||
String viewQueryValue = Utils.getQueryValue(url, "v");
|
||||
if (viewQueryValue != null) {
|
||||
return assertIsID(viewQueryValue);
|
||||
}
|
||||
|
||||
return assertIsID(path);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue