Skip to main content

Download script for Instagram posts

Project description

instasave

A simple script to download media from Instagram posts.

Install

This script runs on Python3.6+, and requires the following libraries: requests, tqdm and loguru. You can install this package from PyPI with:

pip install instasave

Usage

With this package is installed in the activated enrivonment, usage is:

python -m instasave --url link_to_instagram_post

Detailed options go as follows:

usage: __main__.py [-h] -u URL [-l LOG_LEVEL]

Downloading media from Instagram posts.

optional arguments:
  -h, --help            show this help message and exit
  -u URL, --url URL     Link to the Instagram post you want to download the
                        content of.
  -l LOG_LEVEL, --logs LOG_LEVEL
                        The base console logging level. Can be 'debug',
                        'info', 'warning' and 'error'. Defaults to 'info'.

The downloaded files will be saved in the current directory under a name composed of the file type (image / video) appended by the download timestamp.

Warning: abusing this script may get your IP banned by Instagram.

TODO

  • Implement proper logging.
  • Make into a package.
  • Make callable as a python module (python -m instasave ...).

License

Copyright © 2020 Felix Soubelet. [MIT License][license]

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

instasave-0.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

instasave-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file instasave-0.1.0.tar.gz.

File metadata

  • Download URL: instasave-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.6 Darwin/19.4.0

File hashes

Hashes for instasave-0.1.0.tar.gz
Algorithm Hash digest
SHA256 df56c79c82f43cb4d1ffbdc69fe06c60b698dd3edaafdbaf1d84a453e762f2bf
MD5 0f1c3a85dd413c996110c526d9668bc1
BLAKE2b-256 6b2330dafc256a5c0c6b79b14a8eb1dd0fa2f58b5e117b78d52a327bff7632c7

See more details on using hashes here.

File details

Details for the file instasave-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: instasave-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.6 Darwin/19.4.0

File hashes

Hashes for instasave-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a09876a7ea79750acfe30bda63566921629e14696b94d3e93d86127ba9ea5c3a
MD5 aec07a5d203da4a1f8895f863ebf3e1a
BLAKE2b-256 443646509f0ff21e55d35ba2fde819d32574928834825a3cac3902fef7503d32

See more details on using hashes here.

Supported by

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