Commit c0ceb661 authored by Pierre Ynard's avatar Pierre Ynard

youtube.lua: update signature descrambling javascript parsing

Avoid mismatch of signature descrambling call
parent ee3559bb
......@@ -108,7 +108,7 @@ function js_descramble( sig, js_url )
-- Look for the descrambler function's name
-- c&&a.set("signature",br(c));
local descrambler = js_extract( js, "%.set%(\"signature\",(.-)%(" )
local descrambler = js_extract( js, "%.set%(\"signature\",([^)]-)%(" )
if not descrambler then
vlc.msg.dbg( "Couldn't extract youtube video URL signature descrambling function name" )
return sig
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