Commit 50ce5550 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Youtube: fix playback of recent pages

(cherry picked from commit 7529f9c0c3d4418a1bc0af2640ce24c450f0e9b1)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 81457d29
...@@ -89,7 +89,9 @@ function js_descramble( sig, js_url ) ...@@ -89,7 +89,9 @@ function js_descramble( sig, js_url )
-- HTTP request later -- HTTP request later
table.insert( lines, line ) table.insert( lines, line )
-- c&&(b.signature=ij(c)); -- 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 end
-- Fetch the code of the descrambler function. The function is -- Fetch the code of the descrambler function. The function is
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment