Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Spinarooni/7b391754d3f08bc5df95 to your computer and use it in GitHub Desktop.
Save Spinarooni/7b391754d3f08bc5df95 to your computer and use it in GitHub Desktop.
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);
@Spinarooni
Copy link
Author

  1. Log into Rhapsody on the web and select a playlist
  2. Open the browser console and execute the script
  3. Copy and paste the result form the console log into http://www.ivyishere.org/
  4. 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