Commit 8d62bd60 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix koreus parsing

Close #7529
(cherry picked from commit 89b1b06c5eb7a1a5a882b6dfd07d30d9250443be)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent a85d2c12
...@@ -47,7 +47,7 @@ function parse() ...@@ -47,7 +47,7 @@ function parse()
_,_,arturl = string.find( line, "href=\"(.-)\"" ) _,_,arturl = string.find( line, "href=\"(.-)\"" )
end end
vid_url = string.match( line, '(http://media%d?%.koreus%.com/%d+/%d+/[%w-]*%.mp4)' ) vid_url = string.match( line, '(http://embed.koreus.com/%d+/%d+/[%w-]*%.mp4)' )
if vid_url then if vid_url then
return { { path = vid_url; name = name; description = description; artist = artist; arturl = arturl } } return { { path = vid_url; name = name; description = description; artist = artist; arturl = arturl } }
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