bot
ModuleBot detection: known bots by name, then a generic rule for crawlers.
Contents
use utopia_user_agent::detection::bot::bot;Rust
pub fn bot(user_agent: &[u8]) -> Option<Bot<'_>>The bot behind a user-agent string: a known bot, or one with a token
ending in bot, crawler, spider, scraper or slurp (category
Bot::CRAWLER).