npm.io
1.0.8 • Published 7 years ago

source-scraper-dom-runner

Licence
MIT
Version
1.0.8
Deps
2
Size
14 kB
Vulns
0
Weekly
0
Stars
71

source-scraper-dom-runner

Build Status npm version Dependency Status DevDependency Status License Doge

Provides the DomRunner class for scrapping.

This package is part of the SourceScraper-Project.

Getting Started

Installation

$ npm i source-scraper-dom-runner
Usage
const { DomRunner } = require('source-scraper-dom-runner');

(async () => {
    const url = 'some url';
    const data = await new DomRunner().run(url, args => {
        // Extract data using args
    });
    // Do something with extracted data
})();
API

The API generated with TypeDoc can be found here.

Keywords