[SCM] Video extraction utility for YouTube, Google Video and other video sites (Debian packaging) branch, master, updated. upstream/2.1.7-214-g6762190

legatvs legatvs at gmail.com
Wed Apr 1 14:45:00 UTC 2009


The following commit has been merged in the master branch:
commit 8c6b6bbfcd7937b37dc7156549e62c97ed062cca
Author: legatvs <legatvs at gmail.com>
Date:   Sat Mar 14 19:59:50 2009 +0200

    Group title removal strings.

diff --git a/clive b/clive
index 0f1d4bc..6f0faa5 100755
--- a/clive
+++ b/clive
@@ -1333,10 +1333,7 @@ sub fetch_sevenload_configxml {
 
 sub title_to_filename {
     my $title = shift;
-
-    $title =~ s/youtube - //i;  # Remove host specific strings from title
-    $title =~ s/ video//i;      # Break
-    $title =~ s/liveleak.com - //i;
+    $title =~ s/(youtube|video|liveleak.com)//i;
 
     my $r = $opts{cclass} || qr|\w|;
     $title = join('',$title =~ /$r/g);

-- 
Video extraction utility for YouTube, Google Video and other video sites (Debian packaging)



More information about the Pkg-perl-cvs-commits mailing list