Back to catalog

uckkk /

dsh-useragent

Verified

User-Agent 解析:浏览器/系统/设备/引擎/爬虫识别

0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
READMESource: main@7e669ca6

dsh-useragent · User-Agent 解析

解析 User-Agent 字符串,识别浏览器/版本、操作系统、设备类型、引擎与爬虫。纯 Node 实现。

提供的工具

工具 作用
parse_ua 解析 UA 字符串

安装

dsh plugin add dsh-useragent

安装后在 profile 的 package.jsondsh.profile.bundles 中加入 "dsh-useragent"

用法示例

这个 UA 是什么浏览器和系统
→ 调用 parse_ua(ua="Mozilla/5.0 ... Chrome/120 ...")
/ 5

No ratings yet

Community comments

No comments yet. Be the first to write one.