Two more spider
authorJoey Schulze <joey@infodrom.org>
Wed, 9 May 2012 07:50:09 +0000 (07:50 +0000)
committerJoey Schulze <joey@infodrom.org>
Wed, 9 May 2012 07:50:09 +0000 (07:50 +0000)
lib/core.inc

index 0d709de..965a7d9 100644 (file)
@@ -202,6 +202,8 @@ function is_spider()
       strpos($_SERVER['HTTP_USER_AGENT'], 'AhrefsBot/') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Crawler') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Acoon') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'AhrefsBot/') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Crawler') !== false ||
       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'], 'Cityreview Robot') !== false) {
     if (isset($_SESSION['uid']))
       $_SESSION['robot'] = true;
       strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
     if (isset($_SESSION['uid']))
       $_SESSION['robot'] = true;