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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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