Commit 6c71e02b authored by Pierre Ynard's avatar Pierre Ynard

koreus.lua: small fix-up

(cherry picked from commit 4491de9a6b93ac1838eaa0ef89ad97eddbcf4960)
Signed-off-by: default avatarPierre Ynard <linkfanel@yahoo.fr>
parent d10ea6d9
......@@ -47,9 +47,10 @@ function parse()
_,_,arturl = string.find( line, "href=\"(.-)\"" )
end
vid_url = string.match( line, '(http://embed.koreus.com/%d+/%d+/[%w-]*%.mp4)' )
vid_url = string.match( line, '(http://embed%.koreus%.com/%d+/%d+/[%w-]*%.mp4)' )
if vid_url then
return { { path = vid_url; name = name; description = description; artist = artist; arturl = arturl } }
end
end
return {}
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