serp:Google搜索SERP抓取工具

时间:2021-02-03 12:14:29
【文件属性】:
文件名称:serp:Google搜索SERP抓取工具
文件大小:39KB
文件格式:ZIP
更新时间:2021-02-03 12:14:29
scraper google seo serp serps 塞尔普 该模块允许获取基于关键字的Google搜索结果。 它提供了多种用于抓取Google搜索结果的选项,称为SERP(搜索引擎结果页): 请求之间的延迟 如果出错,请重试 有或没有代理,代理或抓取API。 安装 $ npm install serp -S 使用简单 const serp = require ( "serp" ) ; var options = { host : "google.be" , qs : { q : "test" , filter : 0 , pws : 0 } , num : 100 } ; const links = await serp . search ( options ) ; 了解选项结构: 对于google.com,不需要参数托管。 qs可以包含常用的Google搜索参数: : 。 options.qs.q是关键字 num是所需结果的数量(默认值为10)。 options对象还可以包含所有请求选项,例如http标头,...。 SERP正在使用请求模块: : 用户代理不是必需的。 默认
【文件预览】:
serp-master
----.gitignore(38B)
----README.md(5KB)
----test()
--------test-proxy.js(518B)
--------test-scrapeapi.js(3KB)
--------test-proxies.js(2KB)
--------test.js(2KB)
----.eslintrc(362B)
----package.json(820B)
----index.js(7KB)
----package-lock.json(111KB)

网友评论