mirror of
https://github.com/TeamNewPipe/NewPipe/
synced 2025-01-03 12:39:18 +01:00
support all variants of vnd.youtube url.
This commit is contained in:
parent
4cde97e65d
commit
f65c08431c
@ -55,7 +55,7 @@ public class YoutubeStreamUrlIdHandler implements StreamUrlIdHandler {
|
||||
}
|
||||
else if(url.contains("vnd.youtube"))
|
||||
{
|
||||
id = Parser.matchGroup1("vnd.youtube\\:([\\-a-zA-Z0-9_]{11}).*", url);
|
||||
id = Parser.matchGroup1("([\\-a-zA-Z0-9_]{11}).*", url);
|
||||
}
|
||||
else {
|
||||
id = Parser.matchGroup1("[?&]v=([\\-a-zA-Z0-9_]{11})", url);
|
||||
|
Loading…
Reference in New Issue
Block a user