Skip to main content

Save Instagram content you have access to.

Project description

instagram-archiver

Python versions PyPI - Version GitHub tag (with filter) License GitHub commits since latest release (by SemVer including pre-releases) CodeQL QA Tests Coverage Status Dependabot Documentation Status mypy pre-commit Poetry pydocstyle pytest Ruff Downloads Stargazers Prettier

@Tatsh Buy Me A Coffee Libera.Chat Mastodon Follow Patreon

Save Instagram content you have access to.

Installation

Poetry

poetry add instagram-archiver

Pip

pip install instagram-archiver

Usage

Usage: instagram-archiver [OPTIONS] USERNAME

  Archive a profile's posts.

Options:
  -o, --output-dir DIRECTORY      Output directory.
  -b, --browser [brave|chrome|chromium|edge|opera|vivaldi|firefox|safari]
                                  Browser to read cookies from.
  -p, --profile TEXT              Browser profile.
  -d, --debug                     Enable debug output.
  --no-log                        Ignore log (re-fetch everything).
  -C, --include-comments          Also download all comments (extends download
                                  time significantly).
  -h, --help                      Show this message and exit.

Typical use:

instagram-archiver -o ~/instagram-backups/username username

instagram-save-saved

This tool saves your saved posts (at www.instagram.com/username/saved/all-posts).

Usage: instagram-save-saved [OPTIONS]

  Archive your saved posts.

Options:
  -o, --output-dir DIRECTORY      Output directory.
  -b, --browser [brave|chrome|chromium|edge|opera|vivaldi|firefox|safari]
                                  Browser to read cookies from.
  -p, --profile TEXT              Browser profile.
  -d, --debug                     Enable debug output.
  -C, --include-comments          Also download all comments (extends download
                                  time significantly).
  -u, --unsave                    Unsave posts after successful archive.
  -h, --help                      Show this message and exit.

Notes

The default output path is the username under the current working directory.

Videos are saved using yt-dlp and its respective configuration.

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

instagram_archiver-0.3.5.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

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

instagram_archiver-0.3.5-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file instagram_archiver-0.3.5.tar.gz.

File metadata

  • Download URL: instagram_archiver-0.3.5.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for instagram_archiver-0.3.5.tar.gz
Algorithm Hash digest
SHA256 b3ef8f222b6a342f05040363ad2358d67dc3f3fb2697c1b333853612fd00efcd
MD5 f71ce3442010ff2af1ad90cc14bbb9a9
BLAKE2b-256 0b07719ab149dfbffaed92c9a015316d01dc231eeabd3a3700444799e9cc7ecc

See more details on using hashes here.

Provenance

The following attestation bundles were made for instagram_archiver-0.3.5.tar.gz:

Publisher: publish.yml on Tatsh/instagram-archiver

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file instagram_archiver-0.3.5-py3-none-any.whl.

File metadata

File hashes

Hashes for instagram_archiver-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b364f2a4e8b8d1b0c87fbaa49781db6dad23fa41b01d29e2b2dd5d02b764863d
MD5 d2ec8e58377da0f9c56e36e8ffe968a3
BLAKE2b-256 f9b8c0c90b3e781f9532f4c91c86c2cf1eabe3c01d8b36b81244397a227b61b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for instagram_archiver-0.3.5-py3-none-any.whl:

Publisher: publish.yml on Tatsh/instagram-archiver

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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