npm

Join us for the upcoming webinar, "Enterprise JavaScript done right: the tools you love, the security you need."Sign up here »

parallel-wget

0.1.0 • Public • Published

parallel-wget

Install

npm install -g git://github.com/chbrown/parallel-wget.git

Use

First, customize the url transform function:

var wget = require('parallel-wget');
wget.url2Filename = function(urlStr) {
  return urlStr.replace(/\//g, '-');
}
 
wget.downloadUrls('.', 50, urls_array, function() {
  logger.info('Done');
});

Or use from the command line like:

<allurls.txt parallel-wget -d tmp --concurrency 50

License

Copyright © 2011–2013 Christopher Brown. MIT Licensed.

Keywords

none

install

npm i parallel-wget

Downloadsweekly downloads

3

version

0.1.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability