mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-23 03:22:37 +01:00
fixed another pattern problem
This commit is contained in:
parent
8126fdcd15
commit
c7c77ab20c
@ -49,7 +49,7 @@ public class YoutubeVideoUrlIdHandler implements VideoUrlIdHandler {
|
||||
throw new ParsingException("Could not parse attribution_link", uee);
|
||||
}
|
||||
} else {
|
||||
id = Parser.matchGroup1("youtube\\.com/watch\\?v=([\\-a-zA-Z0-9_]{11})", url);
|
||||
id = Parser.matchGroup1("[?&]v=([\\-a-zA-Z0-9_]{11})", url);
|
||||
}
|
||||
}
|
||||
else if(url.contains("youtu.be")) {
|
||||
|
Loading…
Reference in New Issue
Block a user