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
/
DoubleVikingGrabber.pm
diff --git
a/videosite/DoubleVikingGrabber.pm
b/videosite/DoubleVikingGrabber.pm
index
e79c261
..
027395e
100644
(file)
--- a/
videosite/DoubleVikingGrabber.pm
+++ b/
videosite/DoubleVikingGrabber.pm
@@
-15,15
+15,13
@@
use strict;
sub new {
my $class = shift;
sub new {
my $class = shift;
- my $self = $class->SUPER::new();
+ my $self = $class->SUPER::new(
+ NAME => 'doubleviking',
+ PATTERNS => ['(http://(?:[-a-zA-Z0-9_.]+\.)*doubleviking.com/videos/(?:[-a-zA-Z0-9_ %]+/)*page0\.html/(\d+)\.html$)'],
+ @_,
+ );
- $self->{'NAME'} = 'doubleviking';
- $self->{'PATTERNS'} = ['(http://(?:[-a-zA-Z0-9_.]+\.)*doubleviking.com/videos/(?:[-a-zA-Z0-9_ %]+/)*page0\.html/(\d+)\.html$)'];
-
- bless($self, $class);
- $self->_prepare_parameters();
-
- return $self;
+ return bless($self, $class);
}
sub _parse {
}
sub _parse {