FIX: media/dailymotion.lua: sequence pattern (PORTpt4)
authorToni Gundogdu <legatvs@gmail.com>
Sat, 31 Aug 2013 06:14:49 +0000 (31 09:14 +0300)
committerToni Gundogdu <legatvs@gmail.com>
Sat, 31 Aug 2013 06:14:51 +0000 (31 09:14 +0300)
Backported from the 0.4 series [3d71c75]

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
share/media/dailymotion.lua

index 795b7ff..871ffcd 100644 (file)
@@ -92,7 +92,7 @@ end
 -- Iterates the available streams.
 function Dailymotion.iter_streams(page, U)
 
-  local seq = page:match('"sequence":"(.-)"')
+  local seq = page:match('sequence=(.-)"')
                 or error('no match: sequence')
   seq = U.unescape(seq)