Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
Make the page as small as possible with the playlist you want to import and run
the following in the console in developer tools:
var playlist = document.querySelectorAll('.song-table tr.song-row');
for(var i =0; i<playlist.length ; i++) {
var l = playlist[i];
var title = l.querySelectorAll('td[data-col="title"] .column-content')[0].textContent;
var artist = l.querySelectorAll('td[data-col="artist"] .column-content')[0].textContent;
var album = l.querySelectorAll('td[data-col="album"] .column-content')[0].textContent;
console.log(artist + '|' + title + '|' + album);
}
The script takes only the songs that are visible in the page so you might have
to run it multiple times with different parts of the playlist.
Convert the output in a CSV with the header: Band,Song,Album
Head out to: http://www.playlist-converter.net/#
- choose CSV
- map track name and artist name to the columns Song and Band, you defined earlier
- some button should show up to import it in spotify
Add Comment
Please, Sign In to add comment