[vlc-commits] Fix koreus parsing

Jean-Baptiste Kempf git at videolan.org
Sun Sep 30 12:29:47 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Sep 30 12:29:08 2012 +0200| [89b1b06c5eb7a1a5a882b6dfd07d30d9250443be] | committer: Jean-Baptiste Kempf

Fix koreus parsing

Close #7529

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=89b1b06c5eb7a1a5a882b6dfd07d30d9250443be
---

 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