Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 764 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 764 Bytes

📰 ss-scrape

SS.LV RSS Scraper

📝 Description

ss-scrape - Returns latest ad from ss.lv
Result is returned as JSON object.

🔧 Setup

ss-scrape is easy to setup, just do:

npm i ss-scrape

📕 Usage

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);
});

👨‍⚖️ License

ss-scrape by EEHoveckis is licensed under the Unlicense.