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:
6bdc7f3
)
videosite.pl: Add pop.is URL shortener
author
Ralf Ertzinger
<ralf@skytale.net>
Sun, 8 Aug 2010 13:25:56 +0000
(15:25 +0200)
committer
Ralf Ertzinger
<ralf@skytale.net>
Sun, 8 Aug 2010 13:25:56 +0000
(15:25 +0200)
videosite.pl
patch
|
blob
|
history
diff --git
a/videosite.pl
b/videosite.pl
index
74afc42
..
691ef04
100644
(file)
--- a/
videosite.pl
+++ b/
videosite.pl
@@
-161,6
+161,7
@@
sub expand_url_shortener {
'j\.mp/[[:alnum:]]+',
'bit\.ly/[[:alnum:]]+',
'tinyurl\.com/[[:alnum:]]+',
+ 'pop\.is/[[:alnum:]]+',
);
my $ua = LWP::UserAgent->new(agent => 'Mozilla', max_redirect => 0);
my $i = 10;