Select better names for YouTube page types
authorRalf Ertzinger <ralf@skytale.net>
Sat, 17 Apr 2010 16:17:27 +0000 (18:17 +0200)
committerRalf Ertzinger <ralf@skytale.net>
Sat, 17 Apr 2010 16:17:27 +0000 (18:17 +0200)
videosite/YouTubeGrabber.pm

index 9bc32d9..5d328de 100644 (file)
@@ -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) {