2 upvotes, 1 direct replies (showing 1)
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.
Comment by [deleted] at 28/10/2017 at 02:48 UTC
2 upvotes, 1 direct replies
Ah, alright. Out of curiosity, do you manage the blacklist manually? How do you store the list of blacklisted users? Any plans on open-sourcing it?