parser-baidu-top
v1.0.5
Published
获取百度搜索前几条结果
Downloads
16
Readme
示例
const baidu = require('parser-baidu-top')
baidu('电脑',10).then(res => {
console.log(res);
}).catch(err => {
console.log(err);
}
)
结果说明
默认返回前三个搜索结果
| 字段 | 说明 | |------|------| | title | 标题 | | link | 标题对应链接 | | summary | 描述 | | content | link中的文本内容 |