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
Youtube: Simplify match pattern
[videosite.git]
/
videosite
/
Base.pm
diff --git
a/videosite/Base.pm
b/videosite/Base.pm
index
bc38468
..
f6108f6
100644
(file)
--- a/
videosite/Base.pm
+++ b/
videosite/Base.pm
@@
-221,9
+221,17
@@
sub ua {
}
}
+ $self->{_CACHED_UA} = $ua;
+
return $ua;
}
+sub _cached_ua {
+ my $self = shift;
+
+ return $self->{_CACHED_UA};
+}
+
sub simple_get {
my $self = shift;
my $url = shift;