Skip to main content

Another API-less Instagram pictures and videos downloader.

Project description

Not all treasure’s silver and gold, mate.

InstaLooter is a program that can download any picture or video associated from an Instagram profile, without any API access. It can be seen as a re-implementation of the now deprecated InstaRaider developed by @akurtovic.

Requirements

BeautifulSoup

HTML parsing

PyPI BeautifulSoup

Source BeautifulSoup

License BeautifulSoup

docopt

CLI arguments parsing

PyPI docopt

Source docopt

License docopt

progressbar2

Dynamic output in CLI

PyPI progressbar2

Source progressbar2

License progressbar2

requests

HTTP handling

PyPI requests

Source requests

License requests

six

Python 2/3 compatibility

PyPI six

Source six

License six

Usage

InstaLooter comes with its CLI:

$ instaLooter <username> <directory> [options]
$ instaLooter tag <hashtag> <directory> [options]

Arguments

  • username

    the username of the instagram account to download pictures and videos from.

  • hashtag

    the hashtag to download pictures and videos from.

  • directory

    the directory to download files into.

Options

  • -n NUM, --num-to-dl NUM

    number of maximum new posts to download (if not specified all posts are downloaded).

  • -m, --add-metadata

    add date and caption metadata to downloaded pictures (requires piexif and PIL/Pillow)

  • -v, --get-videos

    also download videos.

  • -j JOBS, --jobs JOBS

    the number of parallel threads to use to download files. It is advised to use a value of at least 12 as Instagram profile pages display 12 medias at a time in order to insure parallel download of all files. [default: 16]

  • -c CRED, --credentials CRED

    the login and password to use to login to Instagram, if needed (for instance: downloading medias from a private account you follow). [format: login:password]

  • -q, --quiet

    do not produce any output.

Installation

From PyPI

$ pip install instaLooter  # requires super-user rights

From GitHub

$ git clone https://github.com/althonos/InstaLooter
$ cd InstaLooter
$ pip install .            # requires super-user rights

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

instaLooter-0.3.0.tar.gz (22.6 kB view hashes)

Uploaded Source

Built Distribution

instaLooter-0.3.0-py2.py3-none-any.whl (12.1 kB view hashes)

Uploaded Python 2 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