0.0.17 • Published 3 years ago

gigantes v0.0.17

Weekly downloads
-
License
ISC
Repository
github
Last release
3 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

3 years ago

0.0.16

3 years ago

0.0.17

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.12

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago