0.6.3 • Published 2 years ago

google-html-parser v0.6.3

Weekly downloads
19
License
GPL-v3
Repository
github
Last release
2 years ago

SERP Html Parser

SERP Html Parser can parse Google and Bing results pages to extract organic results, Ads and Shopping Ads.

Features

  • Parse Google SERP
  • Parse Bing SERP
  • Parse organic results with title and description
  • Extract Ads with title, content, target urls
  • Extract Shopping ads with images and target link
  • Can parse mobile pages
  • Back to the future parsing old page from 2016 ...
  • Use cheerio under the hood

Usage

const GoogleHtmlParser = require('google-html-parser');

let options = {
  searchEngine: 'google', // or bing
  detectText: ['Annonce', 'Ad', 'Annonce·', 'Ad·'] // You can add some other language for re-count feature
};
GoogleHtmlParser.parse(options, '<html>Your Google snapshot</html>', function(err, extractedDatas){
  console.log(extractedDatas);
});

GoogleHtmlParser.parse(options, '<html>Your Google snapshot</html>')
.then(parsedDatas => {
  console.log(parsedDatas);
});
0.6.3

2 years ago

0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.0

3 years ago

0.4.3

3 years ago

0.4.1

4 years ago

0.4.2

4 years ago

0.4.0

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago