google-scraper
v1.1.2
Published
Extract links from Google SERP
Downloads
23
Readme
google-scraper
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:
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);
})