Skip to content

jsnomad/Google-Scraper

Repository files navigation

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);
})

Releases

No releases published

Packages

No packages published