[SCM] Video extraction utility for YouTube, Google Video and other video sites (Debian packaging) branch, master, updated. upstream/2.1.9-120-g5cdb4a5
legatvs
legatvs at gmail.com
Thu Apr 9 07:25:56 UTC 2009
The following commit has been merged in the master branch:
commit cf11be484ad5232d0e1620518b4605bc282b99a6
Author: legatvs <legatvs at gmail.com>
Date: Thu Apr 2 12:41:20 2009 +0300
Replace dashes in filenames with underscores.
diff --git a/CHANGES b/CHANGES
index 1a72938..b44581c 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,11 +6,12 @@ changes were made to enable using abby (0.2.0+) as a front-end for
clive (2.1.10+).
User-visible changes:
- * Youtube HD support (--format=mp4_hd)
- - Thanks to bf for the patch
* Add abby (front-end) compatibility
- Change output similar to cclive
- http://code.google.com/p/abby/
+ * Replace dashes in filenames (id, suffix) with underscores
+ * Youtube HD support (--format=mp4_hd)
+ - Thanks to bf for the patch
* Add new website support
- tv.cctv.com (thanks to suntong001 for the initial data mining) [issue #6]
* Add new options
diff --git a/clive b/clive
index ebe0a45..39fd9b0 100755
--- a/clive
+++ b/clive
@@ -1716,6 +1716,9 @@ sub title_to_filename
my @a = strdomain($entry{page_url});
+ $entry{file_suffix} =~ s/\-/_/g;
+ $entry{video_id} =~ s/\-/_/g;
+
my %h = (
"%t" => $title,
"%s" => $entry{file_suffix},
--
Video extraction utility for YouTube, Google Video and other video sites (Debian packaging)
More information about the Pkg-perl-cvs-commits
mailing list