Comment by [deleted] on 26/10/2017 at 03:49 UTC

3 upvotes, 1 direct replies (showing 1)

View submission: feedback II

QUESTION/SUGGESTION:

Did you ever come up with a good way to ignore bots? I've been working on this for a while and I just published the latest version here[1].

1: https://github.com/SM-Wistful/BotDetection-Algorithm

Would you care to share your methods?

Replies

Comment by sneakpeekbot at 26/10/2017 at 18:17 UTC

2 upvotes, 1 direct replies

Wow that's some great code you have there. Unfortunately I'm not doing anything as sophisticated like that right now.

For a short period of time I was comparing the last 3 comments for uniqueness if the user had "bot" in their name but, surprisingly enough, this detection was triggered so infrequently to the point of being useless. Couple that with the fact that it wasn't a perfect solution because not every bot has "bot" in their username, some users were flagged as bots in specific cases (e.g. they were reposting a comment in different places) and it all involves an extra API call which slows the whole process down.

So I removed that function from my code and am now just manually adding known bot accounts to a blacklist. Honestly, there aren't that many bots that are trigerring or conflicting with sneakpeekbot so it wasn't necessary for me to keep working on.