Created
October 9, 2018 20:33
-
-
Save ndrew/fd90ac47a9ab0a45596274b9bad85ad6 to your computer and use it in GitHub Desktop.
extract the songs from spotify playlist
This file contains hidden or 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 a = []; | |
var nodes = document.querySelectorAll(".tracklist-row"); | |
for (var i = 0; i < nodes.length; i++) { | |
a.push(nodes[i].querySelector(".link-subtle").textContent + " — " + nodes[i].querySelector(".tracklist-name").textContent) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment