Add more bots
[infodrom.org/www.zeitungsliste.de] / lib / core.inc
index 0d709de..05680a5 100644 (file)
@@ -196,12 +196,19 @@ 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 ||
       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'], 'CareerBot/1') !== false ||
+      strpos($_SERVER['HTTP_USER_AGENT'], 'SiteExplorer/1') !== false ||
+      strpos($_SERVER['HTTP_USER_AGENT'], 'discoverybot/2.0') !== false ||
+      strpos($_SERVER['HTTP_USER_AGENT'], 'SemrushBot/') !== false ||
+      strpos($_SERVER['HTTP_USER_AGENT'], 'archive.org_bot') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
     if (isset($_SESSION['uid']))
       $_SESSION['robot'] = true;