Skip to content

SBS Chill website scraper API that pulls the current and previous playing songs

Notifications You must be signed in to change notification settings

penbob3/RadioScraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RadioScraper

Pulls current and previously playing songs from the SBS Chill Radio website
The song's title and artist name are retrieved. (I would like to include the album name but unfortunately it's not shown on the website.)
Uses Express, Puppeteer, node-html-parser and iplocation

How to use

It works just like any Node app: clone it, run 'npm install', then launch with 'node index.js'
Don't forget to set the port and token in a .env file! Otherwise it will default to port 80/authentication wont work.
Example:

PORT=80
TOKEN=EasyToGuess123

Endpoints are /currentsong and /prevsong
Data is returned in a JSON response of the following format (Without the dashes obviously):

{
    "title": "-Song Title-",
    "artist": "-Artist Name-"
}

About

SBS Chill website scraper API that pulls the current and previous playing songs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published