Bug#637947: clive: filename for YouTube video incorrectly formatted
Ben Finney
ben+debian at benfinney.id.au
Mon Aug 15 22:21:02 UTC 2011
Package: clive
Version: 2.2.25-2
Severity: normal
Downloading a video from Vimeo results in a filename formatted as
requested:
=====
$ clive 'http://vimeo.com/18074950'
fetch http://vimeo.com/18074950 ...done.
fetch config ...done.
verify video link ...done.
file: Flying to Saturn: Carolyn Porco in LEGO.vimeo[18074950].mp4 88.8M [video/mp4]
Flying to Saturn: Carolyn Porco 100% 88.8M / 88.8M 502.3K/s 03m01s
$ ls *Porco*
Flying to Saturn: Carolyn Porco in LEGO.vimeo[18074950].mp4
=====
But every file downloaded from YouTube using Clive has extraneous
characters in the resulting filename:
=====
$ clive 'http://www.youtube.com/watch?v=quJSdVtwFkI'
fetch http://www.youtube.com/watch?v=quJSdVtwFkI ...done.
verify video link ...done.
file: School Chaplains and High Court Challenge: ABC The Drum -.youtube[quJSdVtwFkI].mp4 8.2M [video/mp4]
School Chaplains and High Court 100% 8.2M / 8.2M 204.3K/s 41s
$ ls *Drum*
School Chaplains and High Court Challenge: ABC The Drum -.youtube[quJSdVtwFkI].mp4
=====
The trailing ‘ -’ is not part of the title, is not requested in the
filename format, and should not be in the filename. The filename should
instead be:
School Chaplains and High Court Challenge: ABC The Drum.youtube[quJSdVtwFkI].mp4
=====
$ cat $HOME/.cliverc | grep -v '^[[:space:]]*\(#\|$\)'
--format best
--cclass "[^/]"
--filename-format "%t.%h[%i].%s"
--print-fname
=====
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (900, 'stable')
Architecture: powerpc (ppc64)
Kernel: Linux 2.6.39-2-powerpc64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_AU.utf8)
Shell: /bin/sh linked to /bin/dash
Versions of packages clive depends on:
ii libclass-singleton-perl 1.4-1 implementation of a "Singleton" cl
ii libconfig-tiny-perl 2.14-1 Read/Write .ini style files with a
ii libexpect-perl 1.21-1 Expect.pm - Perl Expect interface
ii libgetopt-argvfile-perl 1.11-1 Perl module for reading script opt
ii libhtml-parser-perl 3.68-1+b1 collection of modules that parse H
ii liburi-perl 1.58-1 module to manipulate and access UR
ii libwww-curl-perl 4.15-1+b1 Perl bindings to libcurl
ii perl 5.12.4-2 Larry Wall's Practical Extraction
ii perl-modules [libversion-perl 5.12.4-2 Core Perl modules
Versions of packages clive recommends:
ii clive-utils 2.1.6-1 additional utilities for clive
ii libberkeleydb-perl 0.48-1 use Berkeley DB 4 databases from P
ii libterm-readkey-perl 2.30-4+b2 A perl module for simple terminal
Versions of packages clive suggests:
pn ffmpeg <none> (no description available)
-- no debconf information
More information about the pkg-perl-maintainers
mailing list