lua: youtube seems to do some (more) double encoding

This commit is contained in:
Ilkka Ollakka 2010-10-04 16:34:53 +03:00
parent 444c6a0675
commit 27e2bbffe7

View File

@ -68,6 +68,7 @@ function parse()
if string.match( line, "<meta name=\"title\"" ) then
_,_,name = string.find( line, "content=\"(.-)\"" )
name = vlc.strings.resolve_xml_special_chars( name )
name = vlc.strings.resolve_xml_special_chars( name )
end
if string.match( line, "<meta name=\"description\"" ) then
-- Don't ask me why they double encode ...