Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

@xncn/instadownloader

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xncn/instadownloader

Instagram downloader

latest
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

Instagram Downloader

This project provide an instagram api wrapper.You can use in your web services and mobile applications.Instagram downloader library is using dowmate.com api.

Features

  • Photo Download
  • Gallery Download
  • Video Download
  • Story Download

Install

You can install on npm

  npm install @xncn/instadownloader

  //if you are using typescript you dont need to add
  add module type package.json
  {
   "type": "module",
  }

Usage

import InstagramDownloader from "@xncn/instadownloader";

//if you are using typescript you dont need to add .default
async function Download() {
  const data = await InstagramDownloader.default({
    retryCount: 2,
    url: "https://www.instagram.com/p/**",
  });
  console.log(data);
}

Download();


ParamaterTypeDescription
retryCountnumberYou can specified error retry count
urlstringYou need to set instagram downloadable content url

Example Response

{
  title: '****',
  media: [
    {
      type: 'MAIN_ADV',
      api: 'Post-Image',
      thumbnail: 'https://scontent-lhr8-1.cdninstagram.com/v/***',
      media: 'https://scontent-lhr8-1.cdninstagram.com/v/***'
    }
  ]
}

Keywords

instagram

FAQs

Package last updated on 29 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts