From a3ad6e42e04fe79b37fc043743fe47ce99f81bf7 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 28 Apr 2019 08:44:56 +0200 Subject: [PATCH] More bots, more false positives --- blockbot/blockbot.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/blockbot/blockbot.php b/blockbot/blockbot.php index c4a6fda3..424ffb71 100644 --- a/blockbot/blockbot.php +++ b/blockbot/blockbot.php @@ -47,7 +47,8 @@ function blockbot_init_1(App $a) { // List of false positives' strings of known "good" agents we haven't reported (yet) $agents = ['fediverse.network crawler', 'Active_Pods_CheckBot_3.0', 'Social-Relay/', - 'curl', 'zgrab', 'Go-http-client', 'curb', 'github.com', 'reqwest']; + 'curl', 'zgrab', 'Go-http-client', 'curb', 'github.com', 'reqwest', 'Feedly/', + 'Python-urllib/']; foreach ($agents as $agent) { if (stristr($_SERVER['HTTP_USER_AGENT'], $agent)) { @@ -60,7 +61,8 @@ function blockbot_init_1(App $a) { // This helps to detect false positives. $agents = ['SEMrushBot', 's~feedly-nikon3', 'Qwantify/Bleriot/', 'ltx71', 'Sogou web spider/', 'Diffbot/', 'Twitterbot/', 'YisouSpider/', 'evc-batch/', 'LivelapBot/', 'TrendsmapResolver/', - 'PaperLiBot/', 'Nuzzel', 'um-LN/', 'Google Favicon']; + 'PaperLiBot/', 'Nuzzel', 'um-LN/', 'Google Favicon', 'Datanyze', 'BLEXBot/', '360Spider', + 'adscanner/', 'HeadlessChrome', 'wpif', 'startmebot/', 'Googlebot/']; foreach ($agents as $agent) { if (stristr($_SERVER['HTTP_USER_AGENT'], $agent)) {