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

added support playlists on Invidio

This commit is contained in:
Connectety-L
2019-01-27 01:44:46 +01:00
parent cce5e4ad33
commit 10939efcce

View File

@@ -25,7 +25,8 @@ public class YoutubePlaylistLinkHandlerFactory extends ListLinkHandlerFactory {
try {
URL urlObj = Utils.stringToURL(url);
if (!Utils.isHTTP(urlObj) || !YoutubeParsingHelper.isYoutubeURL(urlObj)) {
if (!Utils.isHTTP(urlObj) || !(YoutubeParsingHelper.isYoutubeURL(urlObj)
|| YoutubeParsingHelper.isInvidioURL(urlObj))) {
throw new ParsingException("the url given is not a Youtube-URL");
}