Closed piranna closed 9 years ago
Another alternative is to add the location as a parameter of the .get() method. This could be extended by using an optionsBag so other per-download configs could be added, like strip paths or extraction.
Yeah, I used something like .get('url', 'dest')
before but decided to remove it. Might add it back.
Having back that dest
parameter would be great :-)
Any update on this?
Great, thanks! :-D
.dest()
method define the location of all the downloads, and if you call it several times the last one wins. In that case, it would be better to download to that location only the ones defined after calling to.dest()
, being by default the current dir. It's said, that internally each download store the location where it must be downloaded.