Ask HN: A good list of bots/crawlers ip addresses?
I have a URL shortener and I don't want to count visits by bots, is there a good comprehensive list of bots/crawlers?
Possible in a CSV format?
Either ip addresses, user-agents, or both.
Possible in a CSV format?
Either ip addresses, user-agents, or both.
2 comments
[ 3.2 ms ] story [ 17.4 ms ] threadWell behaved bots tend to use useragents that make themselves fairly obvious.
The best bet is to watch your logs for an IP or agent that seems to hit more URLs than anyone else, and then investigate by hand.
This does require that the url expansion works as a display + redirect, so an intermediate page is shown. If it doesn't work like that...
Well, you can simply exclude the bots and crawlers with robots.txt. The downside of that is that then they won't index your shortened links either, which may or may not be a problem.