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

4 years ago

0.0.14

4 years ago

0.0.12

4 years ago

0.0.10

4 years ago

0.0.11

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago