- Fix typo
[videosite.git] / videosite / VimeoGrabber.pm
index 4b06bfe..4371e53 100644 (file)
@@ -70,8 +70,9 @@ sub _parse {
         $self->debug('Selecting SD video');
         $hd = '';
     }
-    $timestamp = $t->{'xml'}->{'timestamp'};
-    $dlurl = sprintf('http://vimeo.com/moogaloop/play/clip:%s/1/%d%s', $metadata->{'ID'}, $timestamp, $hd);
+    $timestamp = $t->{'xml'}->{'request_signature_expires'};
+    $hash = $t->{'xml'}->{'request_signature'};
+    $dlurl = sprintf('http://vimeo.com/moogaloop/play/clip:%s/%s/%d%s', $metadata->{'ID'}, $hash, $timestamp, $hd);
 
     unless(defined($dlurl)) {
         $self->error('No dlurl found in XML');