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
// CTRL + SHIFT + C and run: | |
const songs = [...document.querySelectorAll("[role='row']")].map((e) => { | |
const childs = e.firstChild.childNodes[1]; | |
if (!childs) { return ''; } | |
const song = e.firstChild.childNodes[1].childNodes[1]; | |
return song.firstChild.textContent + " - " + song.childNodes[1].textContent; | |
}).join("\r\n") | |
console.log(songs); |
OlderNewer