[vlc-commits] Youtube: fix playback of recent pages
Jean-Baptiste Kempf
git at videolan.org
Tue Nov 18 13:49:22 CET 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Nov 18 13:43:56 2014 +0100| [7529f9c0c3d4418a1bc0af2640ce24c450f0e9b1] | committer: Jean-Baptiste Kempf
Youtube: fix playback of recent pages
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7529f9c0c3d4418a1bc0af2640ce24c450f0e9b1
---
share/lua/playlist/youtube.lua | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/share/lua/playlist/youtube.lua b/share/lua/playlist/youtube.lua
index 24c4cf7..11e5cac 100644
--- a/share/lua/playlist/youtube.lua
+++ b/share/lua/playlist/youtube.lua
@@ -89,7 +89,9 @@ function js_descramble( sig, js_url )
-- HTTP request later
table.insert( lines, line )
-- c&&(b.signature=ij(c));
- descrambler = string.match( line, "%.signature=(.-)%(" )
+ -- descrambler = string.match( line, "%.signature=(.-)%(" )
+ -- descrambler = string.match( line, "%.sig%|%|(.-)%(" )
+ descrambler = string.match( line, "%.sig||([a-zA-Z0-9]+)%(" )
end
-- Fetch the code of the descrambler function. The function is
More information about the vlc-commits
mailing list