-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Since the download all button wasn't working, and the file name is set randomly on downloads, I figured I'd just write a quick simple JS script to generate a bash script that can then be run to download all files with the proper naming.
So, after downloading the extension, open your favorites, toggle the infinite scroll mode, scroll to the bottom, then open Chrome dev tools and copy paste:
var dls = $('.DownloadSongButton')
var t = "";
for(var i = 0; i < dls.length; i++) {
t+= "curl -L \"" + dls[i].href + "\" > \"/path/where/you/want/your/favorites/" + dls[i].download.replace(/\//g, '_') + "\"\n";
}Then save the result as a .sh script and run it.
luckyshotchrislaskey
Metadata
Metadata
Assignees
Labels
No labels