Created
May 2, 2017 18:46
-
-
Save hesenger/0e12bdd11c840febd2d5537fee17ca4c to your computer and use it in GitHub Desktop.
List music names from Spotify playlist.
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
// paste code on console from chrome in a playlist page like this: https://open.spotify.com/user/spotify/playlist/37i9dQZF1DX2e5iuTsMOoD | |
var eles = document.getElementsByClassName('track-name');var list = ''; | |
for(var i = 0; i < eles.length; i++) {list+=eles[i].innerText + '\n';} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment