Package: libquvi-scripts
Version: 0.4.6-1
Severity: normal

--- Please enter the report below this line. ---

When I download a dailymotion video with cclive, I get the following error :
$ cclive http://www.dailymotion.com/video/x7e0e_panenka-de-zidane_sport
Checking ... ........ ....... libquvi:
error: ...sr/share/libquvi-scripts/lua/website/dailymotion.lua:116: no match: 
sequence
$

Here are the relevent lines of the dailymotion.lua script :
109 : function Dailymotion.iter_formats(page, U)
110 :     local seq = page:match('"sequence",%s+"(.-)"')
111 :     if not seq then
112 :         local e = "no match: sequence"
113 :         if page:match("_partnerplayer") then
114 :             e = e .. ": looks like a partner video which we do not 
support"
115 :         end
116 :         error(e)
117 :    end

I don't know if it is the right fix, but replacing
local seq = page:match('"sequence",%s+"(.-)"')
by :
local seq = page
seems to fix the problem.

Cheers,
Jonas

--- System information. ---
Architecture: i386
Kernel:       Linux 3.2.0-3-686-pae

Debian Release: wheezy/sid
  900 testing         security.debian.org 
  900 testing         ftp.ch.debian.org 
  300 unstable        ftp.ch.debian.org 

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to