aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Scrape.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/Scrape.php b/include/Scrape.php
index 6726d0b15..9bf89a49e 100644
--- a/include/Scrape.php
+++ b/include/Scrape.php
@@ -294,6 +294,8 @@ function probe_url($url) {
$twitter = ((strpos($url,'twitter.com') !== false) ? true : false);
+ $at_addr = ((strpos($url,'@') !== false) ? true : false);
+
if(! $twitter) {
$links = lrdd($url);
@@ -452,7 +454,7 @@ function probe_url($url) {
$vcard['fn'] = $vcard['nick'];
- if(((! isset($vcard)) && (! $poll)) || ($twitter)) {
+ if(((! isset($vcard)) && (! $poll) && (! $at_addr)) || ($twitter)) {
$feedret = scrape_feed($url);
logger('probe_url: scrape_feed returns: ' . print_r($feedret,true), LOGGER_DATA);