+ "Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)": true,
+ "TelegramBot": true,
+ "Traackr.com Bot": true,
+ "Twitterbot/1.0": true,
+}
+
+func IsBot(ua string) bool {
+ if _, ok := bots[ua]; ok {
+ return true
+ }
+ return false
+}
diff --git a/bots/findBots.sh b/bots/findBots.sh
new file mode 100755
index 0000000..81db94a
--- /dev/null
+++ b/bots/findBots.sh
@@ -0,0 +1,32 @@
+#!/bin/bash
+
+#
+# Generates a Go map containing all bots that have accessed Write.as