kevva / download

Download and extract files
MIT License
1.28k stars 200 forks source link

Update to support multiple-source download #43

Closed shinnn closed 9 years ago

shinnn commented 9 years ago

Current version downloads only a single file specified last. For example,

new Download()
  .get('http://foo.com/file_0.txt')
  .get('http://foo.com/file_1.txt')

Of course, we expect the script to download both file_0.txt and file_1.txt but it doesn't. Actually, the test fails.

I fixed this problem and added more tests to cover various cases.

sindresorhus commented 9 years ago

@kevva will have to merge and release this. I don't have access.

kevva commented 9 years ago

@shinnn @sindresorhus added you to the Github repo and npm.

kevva commented 9 years ago

Sorry for being away, lol. Christmazzz.

shinnn commented 9 years ago

:tada: :christmas_tree: :tada: