git://git.camperquake.de
/
videosite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
bae36ee
)
Select better names for YouTube page types
author
Ralf Ertzinger
<ralf@skytale.net>
Sat, 17 Apr 2010 16:17:27 +0000
(18:17 +0200)
committer
Ralf Ertzinger
<ralf@skytale.net>
Sat, 17 Apr 2010 16:17:27 +0000
(18:17 +0200)
videosite/YouTubeGrabber.pm
patch
|
blob
|
history
diff --git
a/videosite/YouTubeGrabber.pm
b/videosite/YouTubeGrabber.pm
index
9bc32d9
..
5d328de
100644
(file)
--- a/
videosite/YouTubeGrabber.pm
+++ b/
videosite/YouTubeGrabber.pm
@@
-159,13
+159,13
@@
sub _parse {
$_[0],
$thash);
}
$_[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);
} 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');
}
} 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);
$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) {
}
if (%urls) {