]> git.sesse.net Git - vlc/blobdiff - share/lua/playlist/youtube.lua
fix youtube.lua
[vlc] / share / lua / playlist / youtube.lua
index d7b5e7bd1c3314b2a2cc1910e4ccec13f4a72afe..7ae74e92e0d354d79309ac136481fa44a321f730 100644 (file)
@@ -93,6 +93,8 @@ function parse()
                         -- Apparently formats are listed in quality order,
                         -- so we can afford to simply take the first one
                         if not fmt or tonumber( itag ) == tonumber( fmt ) then
+                            -- do unescaping of /
+                            url = string.gsub( url, '\\/','/' )
                             path = url
                             break
                         end