[SCM] Video extraction utility for YouTube, Google Video and other video sites (Debian packaging) branch, master, updated. debian/2.2.26-1
Ansgar Burchardt
ansgar at debian.org
Tue Oct 11 21:21:05 UTC 2011
The following commit has been merged in the master branch:
commit f6eb86dfecfaa6d0b4e3c8f959c4fbad815b14de
Author: Ansgar Burchardt <ansgar at debian.org>
Date: Tue Oct 11 23:12:28 2011 +0200
Fix problem with some youtube.com videos.
Bug-Debian: http://bugs.debian.org/645025
diff --git a/debian/patches/645025-youtube.diff b/debian/patches/645025-youtube.diff
new file mode 100644
index 0000000..55d6a5e
--- /dev/null
+++ b/debian/patches/645025-youtube.diff
@@ -0,0 +1,32 @@
+From: Ingo Saitz <Ingo.Saitz at stud.uni-hannover.de>
+Date: Tue, 11 Oct 2011 22:56:27 +0200
+Subject: Fix problem with some youtube.com videos
+Bug-Debian: http://bugs.debian.org/645025
+
+--- clive.orig/lib/clive/Host/Youtube.pm
++++ clive/lib/clive/Host/Youtube.pm
+@@ -34,7 +34,7 @@
+ my %re = (
+ id => qr|"video_id": "(.*?)"|,
+ url_encoded_fmt_stream_map =>
+- qr|url_encoded_fmt_stream_map=(.*?)&|,
++ qr|"url_encoded_fmt_stream_map": "(.*?)"|,
+ );
+
+ my $tmp;
+@@ -47,13 +47,11 @@
+
+ foreach (
+ split /,/,
+- URI::Escape::uri_unescape(
+- $tmp->{url_encoded_fmt_stream_map}
+- )
++ $tmp->{url_encoded_fmt_stream_map}
+ )
+ {
+ my %map;
+- for my $kv (split /&/) {
++ for my $kv (split /\\u0026/) {
+ my ($key, $value) = split /=/, $kv;
+ $map{$key} = URI::Escape::uri_unescape($value);
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c2e78c2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+645025-youtube.diff
--
Video extraction utility for YouTube, Google Video and other video sites (Debian packaging)
More information about the Pkg-perl-cvs-commits
mailing list