Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ericnishio/instagram-save
Downloads Instagram photos and videos to your current working directory.
https://github.com/ericnishio/instagram-save
download instagram javascript node npm photos save videos
Last synced: 2 months ago
JSON representation
Downloads Instagram photos and videos to your current working directory.
- Host: GitHub
- URL: https://github.com/ericnishio/instagram-save
- Owner: ericnishio
- License: mit
- Created: 2015-11-16T18:12:26.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-11-03T15:42:10.000Z (about 3 years ago)
- Last Synced: 2024-05-22T21:33:00.489Z (8 months ago)
- Topics: download, instagram, javascript, node, npm, photos, save, videos
- Language: JavaScript
- Homepage:
- Size: 328 KB
- Stars: 59
- Watchers: 3
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
[![NPM version][npm-image]][npm-url]
[![Build Status][travis-image]][travis-url]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
```javascript
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](http://ericnish.io)
[npm-url]: https://npmjs.org/package/instagram-save
[npm-image]: https://img.shields.io/npm/v/instagram-save.svg?style=flat-square[travis-url]: https://travis-ci.org/ericnishio/instagram-save
[travis-image]: https://img.shields.io/travis/ericnishio/instagram-save.svg?style=flat-square