[vlc-commits] Youtube: fix playback of recent pages
Jean-Baptiste Kempf
git at videolan.org
Tue Nov 18 13:49:41 CET 2014
vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Nov 18 13:43:56 2014 +0100| [50ce5550c197c2b48e9e104cc93ae4f53464c4c7] | committer: Jean-Baptiste Kempf
Youtube: fix playback of recent pages
(cherry picked from commit 7529f9c0c3d4418a1bc0af2640ce24c450f0e9b1)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=50ce5550c197c2b48e9e104cc93ae4f53464c4c7
---
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