From 673966efb7c71464aaa1728424f39df41dc687f2 Mon Sep 17 00:00:00 2001 From: Ralf Ertzinger Date: Sun, 3 Oct 2010 15:17:15 +0200 Subject: [PATCH] TwitterGrabber: handle "statuses" in URL --- quotesite/TwitterGrabber.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quotesite/TwitterGrabber.pm b/quotesite/TwitterGrabber.pm index 6fab0cd..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(); -- 1.8.3.1