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

1.0.0 • Public • Published

Product Scraper : LDLC plugin

Installation

npm i -E @igorissen/product-scraper-plugin-ldlc

Usage

import { ProductScraper } from '@igorissen/product-scraper-core';
import { LDLCProduct, LDLCProductScraperPlugin } from '@igorissen/product-scraper-plugin-ldlc';

const scraper = new ProductScraper();
const url = 'https://www.ldlc.com/fr-be/fiche/PB00317660.html';
await scraper.init();
scraper.register(LDLCProductScraperPlugin);
const product = await scraper.plugins(LDLCProductScraperPlugin.name).summaryProductDetails(url);

// { name: 'LDLC Cobalt A200', price: 59.95 }

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @igorissen/product-scraper-plugin-ldlc

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

11.5 kB

Total Files

6

Last publish

Collaborators

  • igorissen