@igorissen/product-scraper-core
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Product Scraper Core

Installation

npm i -E @igorissen/product-scraper-core

Usage

const { ProductScraper } = require('@igorissen/product-scraper-core');

const scraper = new ProductScraper();

// Launch an headless browser using puppeteer
await scraper.init();

// Close headless browser
await scraper.destroy();

// Register a plugin
scraper.register(pluginObject);

// Unregister a plugin
scraper.unregister(pluginName);

// Get a plugin
scraper.plugins(pluginName);

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Branch
    • feature : feat/
    • fix : fix/
  3. Commit your Changes
  4. Push to the Branch
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Dependencies (0)

    Dev Dependencies (20)

    Package Sidebar

    Install

    npm i @igorissen/product-scraper-core

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    13.3 kB

    Total Files

    6

    Last publish

    Collaborators

    • igorissen