git://git.camperquake.de
/
quotesite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89a1928
)
TwitterGrabber: Add support for new tweet URL format (aka hashbang vomit)
author
Ralf Ertzinger
<ralf@skytale.net>
Fri, 1 Oct 2010 22:07:31 +0000
(
00:07
+0200)
committer
Ralf Ertzinger
<ralf@skytale.net>
Fri, 1 Oct 2010 22:07:31 +0000
(
00:07
+0200)
quotesite/TwitterGrabber.pm
patch
|
blob
|
history
diff --git
a/quotesite/TwitterGrabber.pm
b/quotesite/TwitterGrabber.pm
index
57e0ec4
..
6fab0cd
100644
(file)
--- 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();