google-scraper

1.1.2 • Public • Published

NPM Badge

google-scraper Circle CI Dependency Status

GoogleScraper is a nodejs module to extract links from Google SERP.

Download

The source is available for download from GitHub. Alternatively, you can install using Node Package Manager (npm) or yarn:

  npm install google-scraper
  yarn add google-scraper

Example

const GoogleScraper = require('google-scraper');
 
const options = {
  keyword: "javascript",
  language: "fr",
  tld:"fr",
  results: 100
};
 
const scrape = new GoogleScraper(options);
 
scrape.getGoogleLinks.then(function(value) {
  console.log(value);
}).catch(function(e) {
  console.log(e);
})

Package Sidebar

Install

npm i google-scraper

Weekly Downloads

9

Version

1.1.2

License

MIT

Last publish

Collaborators

  • jsnomad