From 7182ec7db1f7d4e35f3d6d11ca9e92d5db747121 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Wed, 8 Aug 2018 16:03:14 -0400 Subject: [PATCH] Add hackney as bot --- bots/bots.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/bots/bots.go b/bots/bots.go index 4dfdf94..5357dde 100644 --- a/bots/bots.go +++ b/bots/bots.go @@ -210,14 +210,15 @@ var bots = map[string]bool{ } var botPrefixes = []string{ - "http.rb/", - "PHP/", - "python-requests/", "Mozilla/5.0 (compatible; AhrefsBot/", - "Twitterbot/", - "TelegramBot", "Mozilla/5.0 (compatible; Applebot/", "Mozilla/5.0 (compatible; archive.org_bot", + "PHP/", + "TelegramBot", + "Twitterbot/", + "hackney/", + "http.rb/", + "python-requests/", } // IsBot returns whether or not the provided User-Agent string is a known bot