website-scraper-existing-directory

1.0.1 • Public • Published

Version Downloads Node.js CI Coverage Status Test Coverage Maintainability

website-scraper-existing-directory

Plugin for website-scraper which allows to save resources to existing directory.

Please keep in mind that saving to existing directory may overwrite your files. Be careful with it!

Requirements

  • nodejs version >= 14.14
  • website-scraper version >= 5

Installation

npm install website-scraper website-scraper-existing-directory

Usage

import scrape from 'website-scraper';
import SaveToExistingDirectoryPlugin from 'website-scraper-existing-directory';

await scrape({
    urls: ['http://example.com'],
    directory: '/path/to/save',
    plugins: [ new SaveToExistingDirectoryPlugin() ]
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    284
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    284
  • 1.0.0
    54
  • 0.1.0
    143

Package Sidebar

Install

npm i website-scraper-existing-directory

Weekly Downloads

300

Version

1.0.1

License

MIT

Unpacked Size

4.92 kB

Total Files

4

Last publish

Collaborators

  • s0ph1e