Thread Starter
herold
(@herold)
I don’t want to add these option to the download link. A simple filter would do, as these bots have a clear signature as far as I can see. In all the User Agent text, you find the words ‘bot’ somewhere.
Thank you for clarifying further your requirements. I have submitted a message to the developers to investigate further your request.
Kind regards.
Hi, You can tell us where in the code you want the filter and we will add it. For example: give us the file-name and the line number where you want the new filter hook.
You can also create a pull request in our following github repository:
https://github.com/Arsenal21/simple-download-monitor
Thread Starter
herold
(@herold)
I don’t want an extra filter. Just the functionality that the bots are filtered out of the stats and logs when I check the checkbox ‘No Bots’.
The actual implementation that won’t be trivial as you might be thinking. In some cases captcha is needed to stop certain bots.
I am happy to listen to how you would improve the current solution. Then we will make changes to the code accordingly if it makes sense for our plugin. Otherwise, you may want to look at using an alternative plugin for this project.
Thread Starter
herold
(@herold)
Simply check the user agent and search for ‘bots’. If the word ‘bot’ or ‘bots’ is in there then do not track and do not save.