Forked from atommarvel/Rhapsody Playlist TextMaker
Last active
August 29, 2015 14:10
-
-
Save Spinarooni/7b391754d3f08bc5df95 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tracks = document.querySelectorAll('.track-info'); | |
var songlist = ''; | |
for (var i = 0; i < tracks.length; i++) { | |
var songName = tracks[i].querySelector('.name > a').innerText; | |
var artistName = tracks[i].querySelector('.album-name > a').innerText; | |
songlist += artistName + ' - ' + songName + '\n'; | |
}; | |
console.log(songlist); |
Author
Spinarooni
commented
Feb 16, 2015
- Log into Rhapsody on the web and select a playlist
- Open the browser console and execute the script
- Copy and paste the result form the console log into http://www.ivyishere.org/
- Import the result from http://www.ivyishere.org/ into Spotify
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment