New crawler
authorJoey Schulze <joey@infodrom.org>
Sat, 12 Mar 2011 08:59:05 +0000 (08:59 +0000)
committerJoey Schulze <joey@infodrom.org>
Sat, 12 Mar 2011 08:59:05 +0000 (08:59 +0000)
lib/core.inc

index 2d3ee31..14473e2 100644 (file)
@@ -186,6 +186,9 @@ function is_spider()
       strpos($_SERVER['HTTP_USER_AGENT'], 'bingbot/2.0') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Exabot/3.0') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'spbot/2.1') !== false ||
+      strpos($_SERVER['HTTP_USER_AGENT'], 'Search17Bot/1') !== false ||
+      strpos($_SERVER['HTTP_USER_AGENT'], 'Linguee Bot') !== false ||
+      strpos($_SERVER['HTTP_USER_AGENT'], 'findlinks/2') !== false ||
       strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) {
     if (isset($_SESSION['uid']))
       $_SESSION['robot'] = true;
@@ -238,4 +241,4 @@ function format_info_bookmarks()
   return $ret;
 }
 
-?>
\ No newline at end of file
+?>