1.1.1 • Published 3 years ago
rss-products-parser v1.1.1
RSS to JSON Products Parser
Usage
First, require the package
const Scraper = require('rss-products-parser');
Create an array of RSS Feeds you Want to Scrape
let urls = ['https://example.com/products/feed',...];
Run the scraper
console.log(Scraper.run(urls));
Testing
Install dev dependencies and run
yarn test
or
npm run test
To ensure that the scraper returns a valid JSON object.