Commit b40aea62 authored by Fabio Ritrovato's avatar Fabio Ritrovato Committed by Jean-Baptiste Kempf

Dailymotion: fix double encoding in video description

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 459af8fa)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 95b3c4c4
...@@ -85,7 +85,7 @@ function parse() ...@@ -85,7 +85,7 @@ function parse()
end end
if string.match( line, "<meta name=\"description\"" ) if string.match( line, "<meta name=\"description\"" )
then then
description = vlc.strings.resolve_xml_special_chars( find( line, "name=\"description\" lang=\".-\" content=\"(.-)\"" ) ) description = vlc.strings.resolve_xml_special_chars( vlc.strings.resolve_xml_special_chars( find( line, "name=\"description\" lang=\".-\" content=\"(.-)\"" ) ) )
end end
if path and name and description and arturl then break end if path and name and description and arturl then break end
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