]> git.pld-linux.org Git - packages/clive.git/blobdiff - clive-reporter.patch
- update for 2.1.9
[packages/clive.git] / clive-reporter.patch
index d251b061fdfc8a6e5b6707894fc68014d8bbb77e..6f95b4c29a97569796828d06a205330acb29e2e0 100644 (file)
@@ -1,22 +1,22 @@
---- clive-2.1.5/clive~  2009-02-10 11:09:45.000000000 +0100
-+++ clive-2.1.5/clive   2009-02-10 11:13:10.000000000 +0100
+--- clive-2.1.9/clive~  2009-03-30 12:13:37.000000000 +0200
++++ clive-2.1.9/clive   2009-03-30 12:15:01.000000000 +0200
 @@ -86,6 +86,7 @@
-     IsLiveleak  => qr|liveleak.com|i,
-     IsEvisor    => qr|evisor.tv|i,
-     IsDelfi     => qr|.delfi.|i,
-+    IsReporter  => qr|www.reporter.ee|i,
- );
+                  IsEvisor    => qr|evisor.tv|i,
+                  IsDmotion   => qr|dailymotion.com|i,
+                  IsDelfi     => qr|.delfi.|i,
++                IsReporter  => qr|www.reporter.ee|i,
               );
 
  # Parse config
-@@ -306,6 +307,8 @@
-         ($xurl, $id) = handle_liveleak($response_ref, $response_fh);
+@@ -328,6 +328,8 @@
+         ($xurl, $id) = handle_dmotion($response_ref);
      } elsif ( $url =~ /$re_hosts{IsDelfi}/ ) {
-         ($xurl, $id) = handle_delfi($response_ref, $response_fh);
+        ($xurl, $id) = handle_delfi($response_ref, $response_fh);
 +    } elsif ( $url =~ /$re_hosts{IsReporter}/ ) {
-+        ($xurl, $id) = handle_reporter($response_ref, $response_fh);
++       ($xurl, $id) = handle_reporter($response_ref, $response_fh);
      }
- #    elsif ( $url =~ /$re_hosts{IsMetacafe}/ ) {
#        ($xurl, $id) = handle_metacafe($response_ref);
+     return -1
        if !$xurl or !$id or !$title;
 @@ -369,6 +372,14 @@
                          $content_ok = 1;
                      }
@@ -32,7 +32,7 @@
              }
              $errmsg = "expected different content-type, "
                  . "received \"$content_type\"" unless $content_ok;
-@@ -773,6 +784,27 @@
+@@ -1061,6 +1062,28 @@
      return ($xurl, $id);
  }
  
@@ -57,6 +57,7 @@
 +
 +    return ($xurl, $id);
 +}
++
  # Subroutines: Progress
  # NOTE: the 'dot' progress copies much from wget.
This page took 0.039569 seconds and 4 git commands to generate.