Commit ebd7e0c3 authored by Ilkka Ollakka's avatar Ilkka Ollakka

fix youtube.lua

(cherry picked from commit 806169e33a349d5ccd2a7c42eceeeaab8e154281)
Signed-off-by: default avatarIlkka Ollakka <ileoo@videolan.org>
parent fffbdafe
...@@ -93,6 +93,8 @@ function parse() ...@@ -93,6 +93,8 @@ function parse()
-- Apparently formats are listed in quality order, -- Apparently formats are listed in quality order,
-- so we can afford to simply take the first one -- so we can afford to simply take the first one
if not fmt or tonumber( itag ) == tonumber( fmt ) then if not fmt or tonumber( itag ) == tonumber( fmt ) then
-- do unescaping of /
url = string.gsub( url, '\\/','/' )
path = url path = url
break break
end end
......
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