https://github.com/jsnomad/google-scraper
Extract links from Google SERP
https://github.com/jsnomad/google-scraper
google google-scraper nodejs scraper
Last synced: 6 months ago
JSON representation
Extract links from Google SERP
- Host: GitHub
- URL: https://github.com/jsnomad/google-scraper
- Owner: jsnomad
- License: mit
- Created: 2013-06-09T01:48:21.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-12-30T14:15:33.000Z (over 8 years ago)
- Last Synced: 2024-11-02T03:47:07.187Z (6 months ago)
- Topics: google, google-scraper, nodejs, scraper
- Language: JavaScript
- Size: 45.9 KB
- Stars: 47
- Watchers: 7
- Forks: 17
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/google-scraper)
# google-scraper [](https://circleci.com/gh/jsnomad/Google-Scraper) [](https://david-dm.org/jsnomad/Google-Scraper)
GoogleScraper is a nodejs module to extract links from Google SERP.
## Download
The source is available for download from
[GitHub](https://github.com/jsnomad/Google-Scraper).
Alternatively, you can install using Node Package Manager (npm) or yarn:
npm install google-scraper
yarn add google-scraper## Example
```javascript
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);
})
```