aboutsummaryrefslogtreecommitdiffstats
path: root/unshorturl/unshorturl.php
diff options
context:
space:
mode:
Diffstat (limited to 'unshorturl/unshorturl.php')
-rw-r--r--unshorturl/unshorturl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/unshorturl/unshorturl.php b/unshorturl/unshorturl.php
index e31268a..cbe3208 100644
--- a/unshorturl/unshorturl.php
+++ b/unshorturl/unshorturl.php
@@ -47,7 +47,7 @@ function unshorturl_prepare_body(&$body) {
}
$matches = [];
- $num_matches = preg_match_all('/https?:\/\/bit\.ly\/\w+/', $body['html'], $matches);
+ $num_matches = preg_match_all('/https?:\/\/(bit\.ly|dlvr\.it|t\.co)\/\w+/', $body['html'], $matches);
if ($num_matches > 0) {
foreach ($matches as $links) {
foreach($links as $l) {