Skip to main content

Instagram media downloader CLI (doesn't work for stories)

Project description

Imgram

Imgram is a Python CLI for downloading Instagram posts.

Installation

Use the package manager pip to install Imgram.

pip install imgram

Usage

Sometimes URLs contain an &. When that's the case, you must encase the URL with ". The same goes for paths with spaces in them.
Anything prefixed by ? can remain without issue

Downloading a post to the current folder

imgram URL

example:

imgram https://www.instagram.com/p/DNksmWBvT0H

Downloading a post to a specified folder

imgram URL -o "path/to/folder"
imgram URL --output "path/to/folder"

examples:

imgram https://www.instagram.com/p/DKeGhXcvPL6/?img_index=1 -o C:/Users/USER/Downloads/
imgram https://www.instagram.com/reel/DNYWdfmvHUq/?utm_source=ig_web_copy_link --output C:/Users/USER/Downloads/

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imgram-1.0.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imgram-1.0.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file imgram-1.0.0.tar.gz.

File metadata

  • Download URL: imgram-1.0.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for imgram-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f4c1ad2488841bdfdff59db0b8a688052445e6b233ed1b79f558a293bdd2d104
MD5 f5553fbd9531109d8ef7724e11eb6e72
BLAKE2b-256 95f7feea6ece90bde9e34a3c37fe12e3f1ec350d89614c0d8835770258f7b3af

See more details on using hashes here.

File details

Details for the file imgram-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: imgram-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for imgram-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f39b9f81d49ec54e74517605290057bf3a9b70e31e295d731fcb5f4996352bf5
MD5 35be27af90448ad00b1870679b3d2851
BLAKE2b-256 96cf5ee68a1f520b935c0dda831fdd0e043a4371a751790fd56a010fa4bfbb95

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page