SS.LV RSS Scraper
ss-scrape - Returns latest ad from ss.lv
Result is returned as JSON object.
ss-scrape is easy to setup, just do:
npm i ss-scrape
To require ss-scrape in your program do:
const ssScrape = require("ss-scrape");
Ways to call ss-scrape from your program:
//Call function and await result.
var link = "https://www.ss.lv/lv/transport/cars/today/rss/";
var result = ssScrape(link).then(result => {
console.log(result);
});
ss-scrape by EEHoveckis is licensed under the Unlicense.