From 48daa196953054bdc97c4bf06ead6576a1eb7da0 Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Mon, 12 Jan 2009 11:16:35 +0000 Subject: [PATCH 1/1] =?utf8?q?New=20Crawler:=20SapphireWebCrawler/Nutch-1.?= =?utf8?q?0-dev=20(Sapphire=20Web=20Crawler=20using=20Nutch;=20http:=C2=B0?= =?utf8?q?boston.lti.cs.cmu.edu/crawler/;=20mhoy@cs.cmu.edu)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/core.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core.inc b/lib/core.inc index 4576861..cce4379 100644 --- a/lib/core.inc +++ b/lib/core.inc @@ -157,6 +157,7 @@ function is_spider() strpos($_SERVER['HTTP_USER_AGENT'], 'Gaisbot/3.0') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'psbot/0.1') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'Ask Jeeves/Teoma') !== false || + strpos($_SERVER['HTTP_USER_AGENT'], 'SapphireWebCrawler/Nutch') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'Cityreview Robot') !== false) { if (isset($_SESSION['uid'])) $_SESSION['robot'] = true; -- 2.20.1