From: Michael Vogel Date: Sun, 28 Apr 2019 06:44:56 +0000 (+0200) Subject: More bots, more false positives X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a3ad6e42e04fe79b37fc043743fe47ce99f81bf7;p=friendica-addons.git More bots, more false positives --- 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)) {