0.0.17 • Published 4 years ago

gigantes v0.0.17

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Gigantes

It is a scraping framework that allows you to specify the DOM and declaratively describe the information to be extracted.

Installation

npm install gigantes

Documentation

visit https://44x1carbon.github.io/gigantes/

Usage

const h1Selector = domSelector({
  tagName: { eq: "h1" },
}).first();

const h1Text = h1Selector.extract((domNode) => domNode.text);

const result = run("https://xxxxx.xxx").extractBody({
  h1Text: h1Text,
});

console.log(result); // { h1Text: 'Gigantes' }
0.0.15

4 years ago

0.0.16

4 years ago

0.0.17

4 years ago

0.0.13

5 years ago

0.0.14

5 years ago

0.0.12

5 years ago

0.0.10

5 years ago

0.0.11

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago