X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=quotesite%2FTwitterGrabber.pm;h=48b3c11416f3bca139b0d0abf7e1260eeb2acccf;hb=1ead1e86ae55ff13c1bbd7f8a609cc21e573fe00;hp=57e0ec496e530c01d0f939826982005f897d733a;hpb=89a192885c8132e2fe1076faa442e46627e31ba7;p=quotesite.git diff --git a/quotesite/TwitterGrabber.pm b/quotesite/TwitterGrabber.pm index 57e0ec4..48b3c11 100644 --- a/quotesite/TwitterGrabber.pm +++ b/quotesite/TwitterGrabber.pm @@ -20,7 +20,7 @@ sub new { my $self = $class->SUPER::new(); $self->{'NAME'} = 'twitter.com'; - $self->{'PATTERNS'} = ['(http://twitter.com/[^/]+/status/(\d+))']; + $self->{'PATTERNS'} = ['(http://twitter.com/(?:\#\!/)?[^/]+/status(?:es)?/(\d+))']; bless($self, $class); $self->_prepare_parameters();