Bug#616575: clive: Clive fails to parse youtube URL because it doesn't recognise the field "v"

Alberto Aparici ygramul.el.multiple at gmail.com
Sat Mar 5 18:07:09 UTC 2011


Package: clive
Version: 2.2.13-5
Severity: important
Tags: upstream


Clive fails to download certain youtube videos. For example,
this one:

http://www.youtube.com/watch?v=17-DxmR_k7Y

When invoked, clive displays something like this:

$ clive http://www.youtube.com/watch?v=17-DxmR_k7Y
fetch http://www.youtube.com/watch?v=17-DxmR_k7Y ...done.
error: no match: `(?-xism:&video_id=(.*?)&)'

I assume the problem is that clive does not find the video_id
field. However, there is a "v" field that seems to play the
same role. I am not an expert in youtube syntax, but maybe this
is due to a change in the format of youtube URLs.

I include here the debug output for the same URL:

$ clive --debug http://www.youtube.com/watch?v=17-DxmR_k7Y
fetch http://www.youtube.com/watch?v=17-DxmR_k7Y ...* About to connect()
to www.youtube.com port 80 (#0)
*   Trying 209.85.229.91... * connected
* Connected to www.youtube.com (209.85.229.91) port 80 (#0)
> GET /watch?v=17-DxmR_k7Y HTTP/1.1
User-Agent: Mozilla/5.0
Host: www.youtube.com
Accept: */*
Accept-Encoding: deflate, gzip

< HTTP/1.1 200 OK
< Date: Sat, 05 Mar 2011 18:05:56 GMT
< Server: wiseguy/0.6.7
< X-Content-Type-Options: nosniff
< Content-Encoding: gzip
< Set-Cookie: use_hitbox=72c46ff6cbcdb7c5585c36411b6b334edAEAAAAw;
path=/; domain=.youtube.com
< Set-Cookie: VISITOR_INFO1_LIVE=j-u_sddpA-M; path=/;
domain=.youtube.com; expires=Mon, 31-Oct-2011 18:05:56 GMT
< Set-Cookie:
recently_watched_video_id_list=2450b4b5c0ab98c6665081d03c855355WwEAAABzCwAAADE3LUR4bVJfazdZ;
path=/; domain=.youtube.com
< Set-Cookie: PREF=f1=50000000; path=/; domain=.youtube.com;
expires=Tue, 02-Mar-2021 18:05:56 GMT
< Set-Cookie:
GEO=58a2f9680d8b48886ca72af416189efbcwsAAAAzRVNZgQh6TXJ7hA==; path=/;
domain=.youtube.com
< Expires: Tue, 27 Apr 1971 19:44:06 EST
< Cache-Control: no-cache
< Content-Type: text/html; charset=utf-8
< Content-Length: 21497
< 
* Connection #0 to host www.youtube.com left intact
done.
error: no match: `(?-xism:&video_id=(.*?)&)'
* Closing connection #0



-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
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.12-1     Read/Write .ini style files with a
ii  libexpect-perl                1.20-2     Expect.pm - Perl Expect interface
ii  libgetopt-argvfile-perl       1.11-1     Perl module for reading script opt
ii  libhtml-parser-perl           3.66-1     collection of modules that parse H
ii  liburi-perl                   1.54-2     module to manipulate and access UR
ii  libwww-curl-perl              4.12-1     Perl bindings to libcurl
ii  perl                          5.10.1-17  Larry Wall's Practical Extraction 

Versions of packages clive recommends:
ii  clive-utils              2.1.6-1         additional utilities for clive
ii  libberkeleydb-perl       0.42-1~squeeze1 use Berkeley DB 4 databases from P
ii  libterm-readkey-perl     2.30-4          A perl module for simple terminal 

Versions of packages clive suggests:
ii  ffmpeg           5:0.6.1+svn20101128-0.2 audio/video encoder, streaming ser

-- no debconf information





More information about the pkg-perl-maintainers mailing list