Skip to content

Download Instagram posts, stories, highlights and more

License

Notifications You must be signed in to change notification settings

Alphka/Instagram-Downloader

Repository files navigation

Instagram Downloader

Description

A program written in JavaScript to download images and videos from Instagram.


Usage

instadl [options] username
instadl [options] username1 username2

Supported options

Usage: instadl [options] <string>

Arguments:
  string                Usernames

Options:
  -v, --version         Display program version
  -o, --output [path]   Output directory
  -f, --force           Force creation of output directory
  -q, --queue <number>  Set how many items to get from Instagram API (default: 12)
  -l, --limit <number>  Set how many items to download in total
  -ns, --no-stories     Disable stories download
  -nt, --no-timeline    Disable timeline download
  -nh, --no-highlights  Disable highlights download
  -nhc, --no-hcover     Disable highlights' cover download
  -h, --help            Display help

Installation

npm install
npm link

Note

Before executing the CLI program, copy the contents of the file .env.example to a new file named .env and fill all the environment variables there with your account credentials that are stored in the browser's cookies. This program will not work without authentication.

License

ISC © 2023 Kayo Souza