]> git.sesse.net Git - vlc/commitdiff
Fix koreus parsing
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 30 Sep 2012 10:29:08 +0000 (12:29 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 30 Sep 2012 10:29:45 +0000 (12:29 +0200)
Close #7529

share/lua/playlist/koreus.lua

index 9b0a1bf0b1bd3ecca0bc15363b6f96f71cc530f5..bb095889ab47e3bfe0a09a297bb29362be7018aa 100644 (file)
@@ -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