invidious shortened links

This commit is contained in:
bopol 2020-02-12 18:59:46 +01:00
parent e8e535b815
commit 9701c7d800
1 changed files with 6 additions and 1 deletions

View File

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