From: Jean-Baptiste Kempf Date: Tue, 18 Nov 2014 12:43:56 +0000 (+0100) Subject: Youtube: fix playback of recent pages X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=7529f9c0c3d4418a1bc0af2640ce24c450f0e9b1;p=vlc Youtube: fix playback of recent pages --- diff --git a/share/lua/playlist/youtube.lua b/share/lua/playlist/youtube.lua index 24c4cf7759..11e5cac996 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