From: Ralf Ertzinger Date: Tue, 5 Jul 2011 12:43:04 +0000 (+0200) Subject: GermanBash: add german-bash.de as domain X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=quotesite.git;a=commitdiff_plain;h=439c6b89ee6108272934b7266998d0bc4caebc68;hp=44e34ceffa936686dffaf174278caeed4a627562 GermanBash: add german-bash.de as domain --- diff --git a/quotesite/GermanBashGrabber.pm b/quotesite/GermanBashGrabber.pm index 747968c..361c43d 100644 --- a/quotesite/GermanBashGrabber.pm +++ b/quotesite/GermanBashGrabber.pm @@ -19,8 +19,8 @@ sub new { my $self = $class->SUPER::new(); $self->{'NAME'} = 'germanbash'; - $self->{'PATTERNS'} = ['(http://(?:[-a-zA-Z0-9_.]+\.)*german-bash\.org/(\d+))', - '(http://(?:[-a-zA-Z0-9_.]+\.)*german-bash\.org/action/show/id/(\d+))']; + $self->{'PATTERNS'} = ['(http://(?:[-a-zA-Z0-9_.]+\.)*german-bash\.(?:org|de)/(\d+))', + '(http://(?:[-a-zA-Z0-9_.]+\.)*german-bash\.(?:org|de)/action/show/id/(\d+))']; bless($self, $class); $self->_prepare_parameters();