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.1.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.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: imgram-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 3a8ac840127eec3eaea770239254a7adbfcc703019235873832b8ffcd1baa060
MD5 61fccabb91d1cb4985b0a4176479d6cd
BLAKE2b-256 30ec6f04c15b6a1309993f5c559c944720f32cf2adc726d8ef3ada0c9de4f5bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: imgram-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0314a0bd482870c2d118a08a5742546aa0a5193b37b7dc00380addc5a791c0a1
MD5 67933d90627b37451c9e08dba4c5ffb8
BLAKE2b-256 01c0f51eb19dd82a6ecbe38e467704b18521d403f9bfba630a8954041a0d8696

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