Skip to content

Commit 10939ef

Browse files
committed
added support playlists on Invidio
1 parent cce5e4a commit 10939ef

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/linkHandler/YoutubePlaylistLinkHandlerFactory.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ public String getId(String url) throws ParsingException {
2525
try {
2626
URL urlObj = Utils.stringToURL(url);
2727

28-
if (!Utils.isHTTP(urlObj) || !YoutubeParsingHelper.isYoutubeURL(urlObj)) {
28+
if (!Utils.isHTTP(urlObj) || !(YoutubeParsingHelper.isYoutubeURL(urlObj)
29+
|| YoutubeParsingHelper.isInvidioURL(urlObj))) {
2930
throw new ParsingException("the url given is not a Youtube-URL");
3031
}
3132

0 commit comments

Comments
 (0)