1
0
mirror of https://github.com/writeas/web-core synced 2018-07-20 11:55:21 +00:00

Add "crawler" and "voltron" to bot UA search

This commit is contained in:
Matt Baer 2015-07-01 17:07:59 -04:00
parent 17007ee930
commit 91771fc838

View File

@ -4,7 +4,7 @@
# Generates a Go map containing all bots that have accessed Write.as # Generates a Go map containing all bots that have accessed Write.as
# #
cat /var/log/$1 | grep -i bot | awk -F\" '{print $4}' | sort | uniq > bots.txt cat /var/log/$1 | grep -i 'bot\|crawler\|voltron' | awk -F\" '{print $4}' | sort | uniq > bots.txt
rm bots.go rm bots.go