Exporting Song Titles from Google Play Music
I just had another moment that made me happy to be a software engineer. I was looking for a way to export artists and songs from a playlist contained in google play music. A short search on the web brought me to the solution. Running a short piece of javascript in chrome made it really easy:
var playlist = document.querySelectorAll('.song-table tr.song-row');
for(var i = 0; i<playlist.length ; i++) {
var row = playlist[i];
var title = row.querySelector('td[data-col="title"] .column-content').textContent;
var artist = row.querySelector('td[data-col="artist"] .column-content').textContent;
console.log(artist + ' - ' + title);
}