2 -- French humor site: http://lelombrik.net
6 return vlc.access == "http"
7 and string.match( vlc.path, "lelombrik.net/videos" )
15 if not line then break end
16 if string.match( line, "id=\"nom_fichier\">" ) then
17 vidtitle = string.gsub( line, ".*\"nom_fichier\">([^<]*).*", "%1" )
19 if string.match( line, "flvplayer.swf" ) then
20 -- fallback: retrieve the title from the url if we didn't find it
21 if vidtitle == "" then
22 vidtitle = string.gsub( vlc.path, ".*/([^.]*).*", "%1" )
24 return { { path = string.gsub( line, ".*flashvars=\"&file=([^&]*).*", "%1" ); arturl = string.gsub( line, ".*&image=([^&]*).*", "%1" ); title = vidtitle } }