From: Ralf Ertzinger Date: Sat, 17 Apr 2010 16:17:27 +0000 (+0200) Subject: Select better names for YouTube page types X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=cf79fb9dc759e1ca100557fce9e00d82cd3a3a67;hp=bae36eef39615e016394e293de90e2825a3489bd;p=videosite.git Select better names for YouTube page types --- 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) {