Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lsongdev/node-instagram
📷 Parse and Download Instagram Resources
https://github.com/lsongdev/node-instagram
instagram instagram-downloader instagram-scraper
Last synced: 3 days ago
JSON representation
📷 Parse and Download Instagram Resources
- Host: GitHub
- URL: https://github.com/lsongdev/node-instagram
- Owner: lsongdev
- License: mit
- Created: 2019-11-06T09:17:50.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-06T09:55:26.000Z (about 5 years ago)
- Last Synced: 2024-12-31T10:05:32.443Z (5 days ago)
- Topics: instagram, instagram-downloader, instagram-scraper
- Language: JavaScript
- Homepage: https://npmjs.org/instagram-downloader
- Size: 2.93 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## instagram-downloader
> Parse Instagram Share Data in JavaScript
[![instagram-downloader](https://img.shields.io/npm/v/instagram-downloader.svg)](https://npmjs.org/instagram-downloader)
### Installation
```bash
$ npm i [-g] instagram-downloader
```### Example
```js
const Instagram = require('instagram-downloader');Instagram('--- INSTAGRAM SHARE CODE FROM SHARE LINK ---')
.then(data => {
const { entry_data: { PostPage } } = data;
return PostPage.map(post => post.graphql.shortcode_media)
})
.then(images => images.map(img => img.display_url))
.then(console.log)```
### Contributing
- Fork this Repo first
- Clone your Repo
- Install dependencies by `$ npm install`
- Checkout a feature branch
- Feel free to add your features
- Make sure your features are fully tested
- Publish your local branch, Open a pull request
- Enjoy hacking <3### MIT
This work is licensed under the [MIT license](./LICENSE).
---