1.1.1 • Published 5 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 testor
npm run testTo ensure that the scraper returns a valid JSON object.