git://git.camperquake.de
/
videosite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Base, YouTube: add a function to decode URL query strings and make the Youtube grabbe...
[videosite.git]
/
videosite
/
Base.pm
diff --git
a/videosite/Base.pm
b/videosite/Base.pm
index
577eb52
..
0f2cf2d
100644
(file)
--- a/
videosite/Base.pm
+++ b/
videosite/Base.pm
@@
-187,4
+187,10
@@
sub decode_hexurl {
return $d;
}
+sub decode_querystring {
+ my $self = shift;
+
+ return { map { split /=/, $_, 2; } split /&/, shift };
+}
+
1;