Instagram Profile Downloader
Overview
instagram_profile_downloader is a powerful and user-friendly tool for downloading all images, videos, and story highlights from an Instagram profile. This command-line interface (CLI) tool leverages the instaloader library to fetch media content efficiently and provides a seamless way to manage and store your downloaded media.\n\n
Features
Download Images and Videos: Fetch all posts including images, videos, and sidecar posts (multiple images/videos in one post).
Download Story Highlights: Optionally download story highlights from a profile.\n- Progress Display: Visual progress display using the rich library for better user experience.
Flexible Directory Management: Choose the base directory for media storage interactively or via CLI argument.
Headless System Compatibility: Falls back to CLI input if the graphical interface is not available.
Installation
To install the instagram_profile_downloader package, you can use pip:
pip install instagram_profile_downloader
Usage
Basic Usage
To download media from an Instagram profile, simply run the following command:
instagram_profile_downloader <profile_name>
Command-Line Options
--media-root: Specify the base directory for media output. If not provided, you will be prompted to select a directory interactively.--no-highlights: Do not download story highlights.--no-posts: Do not download posts.--user: Instagram username (required for downloading story highlights).--password: Instagram password (required for downloading story highlights).
Examples
Download Media from a Profile
instagram_profile_downloader natgeo
Specify a Base Directory for Media Output
instagram_profile_downloader natgeo --media-root /path/to/media
Download Only Posts (No Highlights)
instagram_profile_downloader natgeo --no-highlights
Download Only Highlights (No Posts)
instagram_profile_downloader natgeo --no-posts
Provide Instagram Credentials for Highlights
instagram_profile_downloader natgeo --user your_username --password your_password
Step-by-Step Tutorial
- Install the Tool:
pip install instagram_profile_downloader
- Run the Tool:
- Interactive Directory Selection:
instagram_profile_downloader natgeo
Follow the prompts to select the base directory for media storage.
- Specify Directory via CLI:
instagram_profile_downloader natgeo --media-root /path/to/media
- Optional Flags:
- To exclude highlights:
instagram_profile_downloader natgeo --no-highlights
- To exclude posts:
instagram_profile_downloader natgeo --no-posts
- Credentials for Highlights:
- If you want to download story highlights, you need to provide your Instagram credentials:
instagram_profile_downloader natgeo --user your_username --password your_password
Logging
All activities and errors are logged in a log file located in the logs directory under your specified media root directory. The log file is named based on the profile and the current date.
By following this guide, you should be able to efficiently use the instagram_profile_downloader tool to manage and download media from Instagram profiles. If you encounter any issues or have questions, feel free to open an issue on the GitHub repository."
Metadata
Release files for instagram-profile-downloader 1.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| instagram_profile_downloader-1.1.7.tar.gz | 7.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| instagram_profile_downloader-1.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.0 kB
Release files / instagram_profile_downloader-1.1.7.tar.gz
| Download URL | instagram_profile_downloader-1.1.7.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3df4388b2a685354c9f0582e05f94ef192d80073e9e68789ed6f183c6a746c5
|
|
BLAKE2b-256 checksum How to use checksums |
c458aac74ec4aef45fcbd16a3cc76f0032d7fcbff82ad0c038b542e8fdba6080
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.5
|
Release files / instagram_profile_downloader-1.1.7-py3-none-any.whl
| Download URL | instagram_profile_downloader-1.1.7-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
385ea13f353e12944934b88d5dcc17910d582a623095829a4da31bb2cc07f18d
|
|
BLAKE2b-256 checksum How to use checksums |
512d1f7f541d6171d8375d633a4d2371e9aa35b10f7d98a88c53629240a01229
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.5
|
Security for instagram-profile-downloader 1.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.