download mp3's from bandcamp
var commands = []; | |
commands.push('mkdir "' + TralbumData.current.title + '"'); | |
commands.push('cd "' + TralbumData.current.title + '"'); | |
TralbumData.trackinfo.forEach(function (track, index) { | |
if (track.file) { | |
commands.push('curl -o "' + track.title + '.mp3" -L "' + track.file['mp3-128'] + '"'); | |
} | |
}); | |
console.log(commands.join('; ')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment