[PATCH] fix youtube http/404 issue.

legatvs legatvs.git at gmail.com
Sat Jul 24 12:08:26 UTC 2010


---
 ChangeLog                 |    1 +
 lib/clive/Host/Youtube.pm |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b5931aa..445cbe6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 Version 2.2.12
 
 Bugfixes:
+  * [youtube] http/404, ported from quvi, fix by Daniel Schaal (quvi #7)
   * break.com support, thanks to Werner Elsler for the fix (#57)
 
 
diff --git a/lib/clive/Host/Youtube.pm b/lib/clive/Host/Youtube.pm
index 279b6d5..e922d9a 100644
--- a/lib/clive/Host/Youtube.pm
+++ b/lib/clive/Host/Youtube.pm
@@ -57,6 +57,8 @@ sub parsePage {
         my $xurl
             = "http://youtube.com/get_video?video_id=$tmp->{id}&t=$tmp->{t}";
 
+        $xurl .= "&asv=2"; # Should fix the http/404 issue (#58).
+
         my $config = clive::Config->instance->config;
 
         my $fmt;
-- 
1.7.2

--=-=-=--





More information about the pkg-perl-maintainers mailing list