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
Merge branch 'devel'
[videosite.git]
/
videosite
/
YahooGrabber.pm
diff --git
a/videosite/YahooGrabber.pm
b/videosite/YahooGrabber.pm
index
fc88043
..
4c88842
100644
(file)
--- a/
videosite/YahooGrabber.pm
+++ b/
videosite/YahooGrabber.pm
@@
-16,15
+16,13
@@
use strict;
sub new {
my $class = shift;
sub new {
my $class = shift;
- my $self = $class->SUPER::new();
+ my $self = $class->SUPER::new(
+ NAME => 'yahoo',
+ PATTERNS => ['(http://video\.yahoo\.com/watch/\d+/(\d+))'],
+ @_,
+ );
- $self->{'NAME'} = 'yahoo';
- $self->{'PATTERNS'} = ['(http://video\.yahoo\.com/watch/\d+/(\d+))'];
-
- bless($self, $class);
- $self->_prepare_parameters();
-
- return $self;
+ return bless($self, $class);
}
sub _parse {
}
sub _parse {