imgur-save

0.0.1 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.10latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.10

Package Sidebar

Install

npm i imgur-save

Weekly Downloads

0

Version

0.0.1

License

ISC

Last publish

Collaborators

  • hortinstein