没有合适的资源?快使用搜索试试~ 我知道了~
robots-parser:支持通配符(*)匹配的NodeJS robots.txt解析器
共10个文件
js:3个
json:2个
md:2个
需积分: 14 1 下载量 84 浏览量
2021-05-05
16:59:46
上传
评论
收藏 19KB ZIP 举报
温馨提示
机器人解析器 NodeJS robots.txt解析器。 目前支持: 用户代理: 允许: 不允许: 网站地图: 抓取延迟: 主持人: 具有通配符(*)和EOL匹配($)的路径 安装 通过NPM: npm install robots-parser 或通过纱线: yarn add robots-parser 用法 var robotsParser = require ( 'robots-parser' ) ; var robots = robotsParser ( 'http://www.example.com/robots.txt' , [ 'User-agent: *' , 'Disallow: /dir/' , 'Disallow: /test.html' , 'Allow: /dir/test.html' , 'Allow: /test.html' ,
资源推荐
资源详情
资源评论
收起资源包目录
robots-parser-master.zip (10个子文件)
robots-parser-master
index.js 116B
package.json 645B
readme.md 6KB
.github
workflows
test.yml 950B
test
Robots.js 21KB
.prettierignore 4B
package-lock.json 61KB
Robots.js 10KB
license.md 1KB
.gitignore 33B
共 10 条
- 1
资源评论
yilinwang
- 粉丝: 13
- 资源: 4617
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功