2
0
mirror of https://github.com/TeamNewPipe/NewPipeExtractor synced 2025-08-30 05:47:41 +00:00

invidious shortened links

This commit is contained in:
bopol 2020-02-12 18:59:46 +01:00
parent e8e535b815
commit 9701c7d800

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