git://git.camperquake.de
/
videosite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
542ba5f
)
main: Add URL shortener post.ly
author
Ralf Ertzinger
<ralf@skytale.net>
Tue, 10 Aug 2010 12:03:12 +0000
(14:03 +0200)
committer
Ralf Ertzinger
<ralf@skytale.net>
Tue, 10 Aug 2010 12:03:12 +0000
(14:03 +0200)
videosite.pl
patch
|
blob
|
history
diff --git
a/videosite.pl
b/videosite.pl
index
691ef04
..
7ec79e7
100644
(file)
--- a/
videosite.pl
+++ b/
videosite.pl
@@
-162,6
+162,7
@@
sub expand_url_shortener {
'bit\.ly/[[:alnum:]]+',
'tinyurl\.com/[[:alnum:]]+',
'pop\.is/[[:alnum:]]+',
+ 'post\.ly/[[:alnum:]]+',
);
my $ua = LWP::UserAgent->new(agent => 'Mozilla', max_redirect => 0);
my $i = 10;