node package manager

google-scraper

Extract links from Google SERP

GoogleScraper.js

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

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

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