🚀 Use NodeJS to download files
$ git clone https://github.com/itagn/download.git
$ cd download
$ npm install
$ node test.js
code of test.js
;(function(){
let { download } = require('./index');
let files = [{
tag: 'img',
type: 'jpg',
descript: 'images'
}, {
tag: 'video',
type: 'mp4',
descript: 'videos'
}];
let url = ''; // url
download(url, files);
})();- Fork it!
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request :D