Youtube playlist's id minimum length regex
This commit is contained in:
parent
5b25ded1b7
commit
6cdaef53f9
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import org.schabi.newpipe.extractor.utils.Parser;
|
||||||
public class YoutubePlaylistUrlIdHandler implements UrlIdHandler {
|
public class YoutubePlaylistUrlIdHandler implements UrlIdHandler {
|
||||||
|
|
||||||
private static final YoutubePlaylistUrlIdHandler instance = new YoutubePlaylistUrlIdHandler();
|
private static final YoutubePlaylistUrlIdHandler instance = new YoutubePlaylistUrlIdHandler();
|
||||||
private static final String ID_PATTERN = "([\\-a-zA-Z0-9_]*)";
|
private static final String ID_PATTERN = "([\\-a-zA-Z0-9_]{10,})";
|
||||||
|
|
||||||
public static YoutubePlaylistUrlIdHandler getInstance() {
|
public static YoutubePlaylistUrlIdHandler getInstance() {
|
||||||
return instance;
|
return instance;
|
||||||
|
|
Loading…
Reference in a new issue