instagram-downloader

0.0.0 • Public • Published

instagram-downloader

Parse Instagram Share Data in JavaScript

instagram-downloader

Installation

$ npm i [-g] instagram-downloader

Example

const Instagram = require('instagram-downloader');
 
Instagram('https://www.instagram.com/p/B4CR8RoHCn6/?igshid=o1mtap82mf30')
  .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.


/instagram-downloader/

    Package Sidebar

    Install

    npm i instagram-downloader

    Weekly Downloads

    11

    Version

    0.0.0

    License

    MIT

    Unpacked Size

    4.72 kB

    Total Files

    6

    Last publish

    Collaborators

    • song940