Added BingPreview and YisouSpider as bot criteria detection in user

agent.
This commit is contained in:
Christian P. MOMON 2021-06-06 01:00:30 +02:00
parent 6eaff00f81
commit c8e4dcad0c

View file

@ -185,7 +185,7 @@ public class HttpAccessLog
{
boolean result;
if (StringsUtils.containsAnyIgnoreCase(this.userAgent.toString(), "bot", "crawler", "HeadlessChrome/", "monitoring"))
if (StringsUtils.containsAnyIgnoreCase(this.userAgent.toString(), "BingPreview", "bot", "crawler", "HeadlessChrome/", "monitoring", "YisouSpider"))
{
result = true;
}