imgur-save
v0.0.1
Published
imgur-save saves an array of imgur pictures
Downloads
4
Readme
imgur-save
library that batch saves imgur links.
#Example
var imgArray = ['http://i.imgur.com/Noj68K1.jpg'
, 'http://i.imgur.com/CZOtkjF.jpg'
, 'http://i.imgur.com/zN5OGii.jpg'
, 'http://i.imgur.com/QDON2SG.jpg'
, 'http://i.imgur.com/fr0acye.jpg'];
imgurSave.downloadPost(imgArray, "../", 'testuser', function(err, results) {
if (!err) done();
});
will create the following files. It will call the callback when all images are finished downloading
../testuser_Noj68K1.jpg
../testuser_CZOtkjF.jpg
../testuser_CZOtkjF.jpg
../testuser_QDON2SG.jpg
../testuser_fr0acye.jpg