mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-11-29 18:43:17 +00:00
support all variants of vnd.youtube url.
This commit is contained in:
1 parent
4cde97e65d
commit
f65c08431c
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user