Twitter: Status URLs can be HTTPS, too
[quotesite.git] / quotesite / TwitterGrabber.pm
index 3c2c0aa..dda3bae 100644 (file)
@@ -21,7 +21,7 @@ sub new {
     my $self = $class->SUPER::new();
 
     $self->{'NAME'} = 'twitter.com';
-    $self->{'PATTERNS'} = ['(http://twitter.com/(?:\#\!/)?[^/]+/status(?:es)?/(\d+))'];
+    $self->{'PATTERNS'} = ['(https?://twitter.com/(?:\#\!/)?[^/]+/status(?:es)?/(\d+))'];
 
     bless($self, $class);
     $self->_prepare_parameters();