-- Probe function.
function probe()
return vlc.access == "http"
- and string.match( vlc.path, "dailymotion.com" )
+ and string.match( vlc.path, "dailymotion." )
and string.match( vlc.peek( 2048 ), "<!DOCTYPE.*video_type" )
end
end
if string.match( line, "<meta name=\"description\"" )
then
- description = vlc.strings.resolve_xml_special_chars( find( line, "name=\"description\" content=\"(.-)\"" ) )
+ description = vlc.strings.resolve_xml_special_chars( find( line, "name=\"description\" lang=\".-\" content=\"(.-)\"" ) )
end
if path and name and description and arturl then break end
end