Commit 5b25ded1 authored by Christian Schabesberger's avatar Christian Schabesberger Committed by GitHub
Browse files

Merge pull request #30 from karyogamy/id_fix

Fix Playlist id extraction when length is not 34
parents 13fab098 3c1ccb5b
......@@ -8,7 +8,7 @@ import org.schabi.newpipe.extractor.utils.Parser;
public class YoutubePlaylistUrlIdHandler implements UrlIdHandler {
private static final YoutubePlaylistUrlIdHandler instance = new YoutubePlaylistUrlIdHandler();
private static final String ID_PATTERN = "([\\-a-zA-Z0-9_]{34})";
private static final String ID_PATTERN = "([\\-a-zA-Z0-9_]*)";
public static YoutubePlaylistUrlIdHandler getInstance() {
return instance;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment