Skip to main content

is_bot

Function is_bot 

Source
pub fn is_bot(headers: &HeaderMap, allow_legitimate: bool) -> bool
Available on crate feature uautil only.
Expand description

检测请求是否来自机器人; allow_legitimate 为 true 时放行合法搜索引擎爬虫