pupget

0.0.5 • Public • Published

Pupget

Pupget is a Node library for scraping the Web based on a DSL definition.

Installation

Use the package manager npm to install pupget.

npm install pupget

Usage

const pupget = require("pupget");

// Load default DSL
const filename = require.resolve("pupget/pupget.json");
pupget.readFromFile(filename);

// Load DSL as string
pupget.readFrominnerJson("{...}");

// Scraping (if DSL created from scratch)
pupget.scrape();

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i pupget

    Weekly Downloads

    3

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    5.74 kB

    Total Files

    4

    Last publish

    Collaborators

    • rqueiros