Skip to content

Trick to download all hypem favorites #19

@Neamar

Description

@Neamar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions