instagram-save

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

Usage no npm install needed!

<script type="module">
  import instagramSave from 'https://cdn.skypack.dev/instagram-save';
</script>

README

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