New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

imgur-alb

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imgur-alb

Download an imgur album painlessly.

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

Album Pull

Download an entire imgur album simply. Build Status

Introduction

I had a significant amount of annoyance when I was unable to download imgur albums the way I wanted to. So I decided to create a utility that allows me to download imgur albums easily.

Code Samples

The way that I download the photos is a little interesting. I pipe the response from the request module into the fs module and write that to the directory.

function download(link, filename, dir) {
      request(link).pipe(fs.createWriteStream(dir + "/" + filename));
}

Installation

First grab the repository or npm package.

git clone https://github.com/nicolsek/Album-Pull

Then install the requirement for node.

npm install

Album Pull is now ready to use!

Alt Text

Usage

The structure to download an album looks like this.

node ./ <imgur_link> <optional_custom_path>

Keywords

imgur

FAQs

Package last updated on 15 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts