[vlc-commits] Fix koreus parsing
Jean-Baptiste Kempf
git at videolan.org
Sun Sep 30 12:37:08 CEST 2012
vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Sep 30 12:29:08 2012 +0200| [8d62bd60593c2ac55e1d8afccf832bc03471e016] | committer: Jean-Baptiste Kempf
Fix koreus parsing
Close #7529
(cherry picked from commit 89b1b06c5eb7a1a5a882b6dfd07d30d9250443be)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=8d62bd60593c2ac55e1d8afccf832bc03471e016
---
share/lua/playlist/koreus.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/share/lua/playlist/koreus.lua b/share/lua/playlist/koreus.lua
index 9b0a1bf..bb09588 100644
--- a/share/lua/playlist/koreus.lua
+++ b/share/lua/playlist/koreus.lua
@@ -47,7 +47,7 @@ function parse()
_,_,arturl = string.find( line, "href=\"(.-)\"" )
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
return { { path = vid_url; name = name; description = description; artist = artist; arturl = arturl } }
end
More information about the vlc-commits
mailing list