scrape_beatport_playlist
v1.0.3
Published
Scrapes Beatport Playlist
Downloads
14
Maintainers
Readme
scrape_beatport_playlist
Scrapes tracks, artists, and genres from a beatport playlist URL
NPM
Installation
npm install scrape_beatport_playlist
Usage:
const getTracks = require(beatport-playlist-scrape)
getTracks(url)
.then(data => {
console.log(data);
})
.catch(error => {
console.log(error);
})
Example Output:
[
{
"id": "12630900a",
"title": "Sahara",
"artist": "MD Project",
"genre": "Deep House"
},
{
"id": "12630901",
"title": "Biosphere",
"artist": "Widow Tongue",
"genre": "Deep House"
},
{
"id": "12630991",
"title": "Loop Think",
"artist": "Level Of Encore",
"genre": "Deep House"
}
]