isbot::laptop:JavaScript模块,可通过用户代理检测botscrawlersspiders

时间:2021-05-12 09:04:34
【文件属性】:
文件名称:isbot::laptop:JavaScript模块,可通过用户代理检测botscrawlersspiders
文件大小:42KB
文件格式:ZIP
更新时间:2021-05-12 09:04:34
user-agent user-agent-parser user-agent-analysis crawlers web-crawlers 伊斯伯特 :robot: / :man::red_hair: 使用用户代理字符串检测漫游器/爬网程序/蜘蛛。 用法 简单检测 const isbot = require ( 'isbot' ) // Nodejs HTTP isbot ( request . getHeader ( 'User-Agent' ) ) // ExpressJS isbot ( req . get ( 'user-agent' ) ) // User Agent string isbot ( 'Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25 (compatible; Googlebot/2.1; +http://www.go
【文件预览】:
isbot-main
----.circleci()
--------config.yml(4KB)
----.karma.js(501B)
----list.json(4KB)
----.gitignore(265B)
----page()
--------opensearch.xml(407B)
--------script.js(1KB)
--------index.pug(897B)
--------favicon.ico(318B)
--------styles.css(747B)
--------isbot.svg(4KB)
----tsconfig.json(378B)
----README.md(4KB)
----.nvmrc(3B)
----CHANGELOG.md(4KB)
----.github()
--------dependabot.yml(126B)
--------ISSUE_TEMPLATE()
----tests()
--------browser.js(756B)
--------list.js(331B)
--------fixtures()
--------features.js(2KB)
--------efficiency.js(2KB)
--------.rule-efficiency.js(1KB)
--------helpers()
--------fixtures.js(1KB)
----LICENSE(1KB)
----.gitattributes(99B)
----package.json(2KB)
----CONTRIBUTING.md(1KB)
----index.js(2KB)
----scripts()
--------sort.js(2KB)
--------download-fixtures.sh(744B)
--------contributors.js(522B)
----index.d.ts(703B)
----.rollup.js(266B)
----.npmignore(83B)
----.editorconfig(196B)
----.npmrc(50B)

网友评论