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

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    0

Package Sidebar

Install

npm i imgur-save

Weekly Downloads

0

Version

0.0.1

License

ISC

Last publish

Collaborators

  • hortinstein