【文件属性】:
文件名称:google-search-results-nodejs:在Node.JS中抓取并解析Google搜索结果
文件大小:43KB
文件格式:ZIP
更新时间:2021-02-03 12:29:46
google seo scraping seotools serp
Node.JS中的Google搜索结果
这个Node.JS模块允许您使用抓取和解析Google搜索结果。 除外,您还可以使用此模块访问SerpWow ,和 。
所有方法都支持Promise和节点样式的回调。
安装
您可以使用以下方法安装google-search-results-serpwow:
$ npm install google-search-results-serpwow
并更新为:
$ npm update google-search-results-serpwow
在上查看软件包
文献资料
我们在此处提供了示例,但完整的SerpWow API文档可在:
您还可以使用使用SerpWow直观地构建Google搜索请求。
例子
需求
ES6基本了解
Node.JS编码经验
已安装节点7+和npm
简单的例子
标准查询“披萨”的最简单示例,将Google SERP(搜索引擎结果页)数据作为JSON返回。
var SerpWow = require ( 'google-search-results-serpwow' )
// create the serpwow obj
【文件预览】:
google-search-results-nodejs-master
----src()
--------index.js(10KB)
----.babelrc(109B)
----LICENSE(1KB)
----README.md(15KB)
----dist()
--------index.js(23KB)
----.gitignore(35B)
----package-lock.json(131KB)
----package.json(1KB)