From cf79fb9dc759e1ca100557fce9e00d82cd3a3a67 Mon Sep 17 00:00:00 2001 From: Ralf Ertzinger Date: Sat, 17 Apr 2010 18:17:27 +0200 Subject: [PATCH 1/1] Select better names for YouTube page types --- videosite/YouTubeGrabber.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/videosite/YouTubeGrabber.pm b/videosite/YouTubeGrabber.pm index 9bc32d9..5d328de 100644 --- a/videosite/YouTubeGrabber.pm +++ b/videosite/YouTubeGrabber.pm @@ -159,13 +159,13 @@ sub _parse { $_[0], $thash); } - $self->debug("Pagetype: old (SWF_ARGS), t with fmt_map"); + $self->debug("Pagetype: 2009 (SWF_ARGS), t with fmt_map"); } else { $urls{5} = sprintf('http://www.youtube.com/get_video?video_id=%s&t=%s', $metadata->{'ID'}, $thash); - $self->debug("Pagetype: old (SWF_ARGS), t without fmt_map"); + $self->debug("Pagetype: 2009 (SWF_ARGS), t without fmt_map"); } } else { $self->error('Neither fmt_url_map nor t found in video information hash'); @@ -177,7 +177,7 @@ sub _parse { $urls =~ s/%([[:xdigit:]]{2})/chr(hex($1))/ge; %urls = split(/[\|,]/, $urls); - $self->debug("Pagetype: new (swfHTML), fmt_url_map"); + $self->debug("Pagetype: 2010 (swfHTML), fmt_url_map"); } if (%urls) { -- 1.8.3.1