mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-05-31 05:34:08 +00: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"))
|
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 {
|
else {
|
||||||
id = Parser.matchGroup1("[?&]v=([\\-a-zA-Z0-9_]{11})", url);
|
id = Parser.matchGroup1("[?&]v=([\\-a-zA-Z0-9_]{11})", url);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user