Skip to content

Downloads Instagram photos and videos to your current working directory.

License

Notifications You must be signed in to change notification settings

ericnishio/instagram-save

Repository files navigation

instagram-save

NPM version Build Status

Downloads and saves Instagram photos and videos to your current working directory.

Setup

Requirements: Node 4+

$ npm install -g instagram-save

CLI Usage

Run instagram-save by passing one or more URLs or media IDs as arguments, like so:

$ instagram-save dU4fHDw-Ho
$ instagram-save https://www.instagram.com/p/dU4fHDw-Ho/
$ instagram-save dU4fHDw-Ho 6IbLiMQ-LE

Or read URLs from a file (e.g. urls.txt):

https://www.instagram.com/p/dU4fHDw-Ho/
https://www.instagram.com/p/6IbLiMQ-LE/

And run:

$ instagram-save -f urls.txt

Node Usage

const save = require('instagram-save');

save('dU4fHDw-Ho', 'myDir').then(res => {
  console.log(res.file);
});

Run Tests

$ npm test

Lint Code

$ npm run lint

License

MIT © Eric Nishio

About

Downloads Instagram photos and videos to your current working directory.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published