kopia lustrzana https://github.com/TeamNewPipe/NewPipe
support all variants of vnd.youtube url.
rodzic
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);
|
||||||
|
|
Ładowanie…
Reference in New Issue