Commit 87fcede4 authored by Pierre Ynard's avatar Pierre Ynard

youtube.lua: handle relative reference in javascript URL

parent 5d73f3be
......@@ -269,6 +269,7 @@ function parse()
local js_url = string.match( line, "\"js\": \"(.-)\"" )
if js_url then
js_url = string.gsub( js_url, "\\/", "/" )
js_url = string.gsub( js_url, "^//", vlc.access.."://" )
end
if not fmt then
......
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