Skip to main content

Module bot

Module bot 

Source
Expand description

Bot detection via User-Agent pattern matching.

Classifies requests as bot or human based on known crawler patterns. Bot events are stored with is_bot = true for dashboard filtering.

Functionsยง

is_bot
Check if a User-Agent string belongs to a known bot.
is_bot_lower
Check if a pre-lowercased User-Agent string belongs to a known bot.