没有合适的资源?快使用搜索试试~ 我知道了~
summaly::magnifying_glass_tilted_left:获取任何网页的摘要
共33个文件
ts:11个
html:11个
json:3个
需积分: 5 0 下载量 155 浏览量
2021-05-14
17:27:25
上传
评论
收藏 18KB ZIP 举报
温馨提示
总结 获取任何网页的摘要。 安装 $ npm install summaly 用法 summaly ( url [ , opts ] ) 选项 财产 类型 描述 默认 按照重定向 布尔值 是否遵循重定向 true 外挂程式 插件[] (请参见下文) 自定义插件 null 插入 interface IPlugin { test : ( url : URL . Url ) => boolean ; summarize : ( url : URL . Url ) => Promise < Summary> ; } 退货 一个对象的承诺,其中包含以下属性: 根 财产 类型 描述 描述 细绳 网页说明 图标 细绳 网页图标的URL 网站名称 细绳 网站名称 缩图 细绳 网页缩略图的URL 播放器 播放器 网页播放器 标题 细绳 网页标题 网址 细绳 网页的网址 播放器 财产 类
资源推荐
资源详情
资源评论
收起资源包目录
summaly-master.zip (33个子文件)
summaly-master
src
utils
clip.ts 242B
cleanup-title.ts 501B
null-or-empty.ts 211B
iplugin.ts 206B
summary.ts 689B
general.ts 4KB
index.ts 1KB
plugins
wikipedia.ts 1KB
amazon.ts 2KB
server
index.ts 459B
package.json.d.ts 97B
.npmignore 102B
.travis.yml 185B
tsconfig.json 429B
LICENSE 1KB
test
index.js 4KB
htmls
twitter-title.html 230B
og-title.html 225B
dirty-title.html 179B
og-description.html 231B
basic.html 270B
twitter-description.html 236B
og-image.html 242B
no-favicon.html 197B
no-metas.html 238B
twitter-image.html 247B
og-site_name.html 229B
tslint.json 2KB
README.md 4KB
.editorconfig 127B
.gitignore 35B
CHANGELOG.md 3KB
package.json 1009B
共 33 条
- 1
资源评论
李川雨
- 粉丝: 33
- 资源: 4579
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功