Newly Potted Mandrakes

    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
    

    Keywords

    Install

    npm i imgur-save

    DownloadsWeekly Downloads

    1

    Version

    0.0.1

    License

    ISC

    Last publish

    Collaborators

    • hortinstein