spotify-playlist-export
spotify-playlist-export copied to clipboard
Enhancement: Download all CSV
As a lazy person, I would like to simply download all playlists as separate CSVs for backup/archives purposes in one click.
When I get time to do it, I can assign this to myself. May be in a weeks time or so.
Great! That would be a very nice feature
Here's my really hacky work-around to make the UI load everything. You paste this into the console:
$.fn.simulateClick = function() {
return this.each(function() {
if('createEvent' in document) {
var doc = this.ownerDocument,
evt = doc.createEvent('MouseEvents');
evt.initMouseEvent('click', true, true, doc.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null);
this.dispatchEvent(evt);
} else {
this.click(); // IE
}
});
}
window.TryAgain = function() {
var x = $('.load:contains("More")');
if (x.length == 0) {
return;
}
x.simulateClick();
window.setTimeout(TryAgain, 2000);
};
TryAgain()
@bslatkin I can't seem to get that code to work. Console isn't showing any errors, it's just not doing anything. Any thoughts?