vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <j...@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 <j...@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

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to