X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=quotesite.git;a=blobdiff_plain;f=quotesite%2FTwitterGrabber.pm;fp=quotesite%2FTwitterGrabber.pm;h=6fab0cd21ccc3dc08b8a62465dd4606a1a8e9f0b;hp=57e0ec496e530c01d0f939826982005f897d733a;hb=0711e74b084cc99d8f3508d2aac4daf7f933e142;hpb=89a192885c8132e2fe1076faa442e46627e31ba7 diff --git a/quotesite/TwitterGrabber.pm b/quotesite/TwitterGrabber.pm index 57e0ec4..6fab0cd 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/(\d+))']; bless($self, $class); $self->_prepare_parameters();