From 87dadcf429a8d2367608f422de8accdd4103ba48 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 6 Aug 2019 11:24:34 +0200 Subject: lib/mysql.php: add more bot user agents --- lib/mysql.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib') diff --git a/lib/mysql.php b/lib/mysql.php index d3b210f..66fe82f 100644 --- a/lib/mysql.php +++ b/lib/mysql.php @@ -103,12 +103,19 @@ function abort_iff_webspider() { $is_a_bot = in_array( $_SERVER['HTTP_USER_AGENT'], array( + '', + 'Googlebot-Image/1.0', + 'Linguee Bot (http://www.linguee.com/bot; bot@linguee.com)', 'Mozilla/5.0 (compatible; AhrefsBot/6.1; +http://ahrefs.com/robot/)', + 'Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)', 'Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)', "'Mozilla/5.0 (compatible; DuckDuckBot-Https/1.1; https://duckduckgo.com/duckduckbot)'", + 'Mozilla/5.0 (compatible; FemtosearchBot/1.0; http://femtosearch.com)', + 'Mozilla/5.0 (compatible; Qwantify/2.4w; +https://www.qwant.com/)/2.4w', 'Mozilla/5.0 (compatible; SeznamBot/3.2; +http://napoveda.seznam.cz/en/seznambot-intro/)', 'Mozilla/5.0 (Compatible; Supybot 2019.02.23)', 'Mozilla/5.0 (compatible; YandexBot/3.0; +http://yandex.com/bots)', + 'Mozilla/5.0 (compatible; Yeti/1.1; +http://naver.me/spd)', 'Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)', 'ZoominfoBot (zoominfobot at zoominfo dot com)' ) -- cgit v1.2.3-70-g09d2