New spider
authorJoey Schulze <joey@infodrom.org>
Mon, 6 May 2013 13:59:03 +0000 (13:59 +0000)
committerJoey Schulze <joey@infodrom.org>
Mon, 6 May 2013 13:59:03 +0000 (13:59 +0000)
lib/core.inc

index 965a7d9..f8c9b9c 100644 (file)
@@ -196,7 +196,7 @@ function is_spider()
       strpos($_SERVER['HTTP_USER_AGENT'], 'AhrefsBot/1.0') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'suggybot v0.01a') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'DomainCrawler/2.0') !== false ||
-      strpos($_SERVER['HTTP_USER_AGENT'], 'Plukkie/1.4') !== false ||
+      strpos($_SERVER['HTTP_USER_AGENT'], 'Plukkie/1') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], '/Nutch-') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'aiHitBot/1.0') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'AhrefsBot/') !== false ||
@@ -204,6 +204,8 @@ function is_spider()
       strpos($_SERVER['HTTP_USER_AGENT'], 'Acoon') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'aiHitBot') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'SeznamBot') !== false ||
+      strpos($_SERVER['HTTP_USER_AGENT'], 'CareerBot/1') !== false ||
+      strpos($_SERVER['HTTP_USER_AGENT'], 'SiteExplorer/1') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
     if (isset($_SESSION['uid']))
       $_SESSION['robot'] = true;