Skip to content

Commit 3c1ccb5

Browse files
author
John Zhen M
committed
Fix Playlist id extraction when length is less than 34
1 parent 13fab09 commit 3c1ccb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubePlaylistUrlIdHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
public class YoutubePlaylistUrlIdHandler implements UrlIdHandler {
99

1010
private static final YoutubePlaylistUrlIdHandler instance = new YoutubePlaylistUrlIdHandler();
11-
private static final String ID_PATTERN = "([\\-a-zA-Z0-9_]{34})";
11+
private static final String ID_PATTERN = "([\\-a-zA-Z0-9_]*)";
1212

1313
public static YoutubePlaylistUrlIdHandler getInstance() {
1414
return instance;

0 commit comments

Comments
 (0)