mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-04-28 16:00:33 +05:30
Youtube playlist's id minimum length regex
This commit is contained in:
parent
5b25ded1b7
commit
6cdaef53f9
@ -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…
x
Reference in New Issue
Block a user