Forked from atommarvel/Rhapsody Playlist TextMaker
Last active
August 29, 2015 14:15
-
-
Save egrim/e6402afd9f4c6e69209e 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 trackNames = document.getElementsByClassName("name"); | |
var artistNames = document.getElementsByClassName("album-name"); | |
var final = ""; | |
for (var track=0; track<trackNames.length; track++) { | |
final += artistNames[track].innerText + " - " + trackNames[track].innerText + "\n"; | |
} | |
console.log(final); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
still doest work :(