Skip to main content

Another API-less Instagram pictures and videos downloader

Project description

Not all treasure’s silver and gold, mate.

build repo versions format coverage doc requirements grade license

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

dateutil

Date manipulation

PyPI dateutil

Source dateutil

License dateutil

hues

Colored output

PyPI hues

Source hues

License hues

Installation

InstaLooter is available on PyPI to install with pip. If you are not familiar with the package management of the Python ecosystem, please see the Installation page of the online documentation. Yet, you will probably end up using the following command:

pip install --user instaLooter

Usage

InstaLooter comes with its CLI:

$ instaLooter <username> [<directory>] [options]
$ instaLooter (hashtag <hashtag> <directory> [options]
$ instaLooter post <post_token> <directory> [options]
$ instaLooter batch <batch_file>

Logging in and out

There are two ways to login on Instagram through instaLooter:

  • use the login subcommand (instaLooter login) to interactively login using your username and password.

  • give a --username (and, if you want, a --password) argument to any of the download commands.

In both cases, a session cookie will be created in the system temporary folder. To delete it and close your session on the server, use the logout subcommand.

Examples

Download all pictures from the instagram profile in the current directory:

$ instaLooter instagram

Download the latest 20 pictures or videos tagged with python to /tmp:

$ instaLooter hashtag python /tmp -n 20 -v -c MYLOGIN

Download a single post from an url in the current directory:

$ instaLooter post "https://www.instagram.com/p/BFB6znLg5s1/" .

Use a configuration file to download from several account using custom parameters (see Batch mode):

$ instaLooter batch /path/to/a/config/file.ini

See more on the Usage page of the online documentation.

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.13.3.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

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

instaLooter-0.13.3-py2.py3-none-any.whl (24.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file instaLooter-0.13.3.tar.gz.

File metadata

  • Download URL: instaLooter-0.13.3.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for instaLooter-0.13.3.tar.gz
Algorithm Hash digest
SHA256 a2360c7995463142e2c4d331e9694ff489cc8bb18390566ce52a45fb0405c632
MD5 a487833973ec039cc9717886ddb808f9
BLAKE2b-256 622499e3b63951185723e27ea844d7be6a8a24cc933d74eb2cfe30cd2d793052

See more details on using hashes here.

File details

Details for the file instaLooter-0.13.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for instaLooter-0.13.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bd79cfa9e011fe52c77f559ebcce7df65486ee95180f8641e842f3531aada390
MD5 d51773b1a2db4c1cbebc0ec64ef8e076
BLAKE2b-256 0aeccce03ad46dc717ee2f8bee0135345bf60be71ba826bbd2608604f2610436

See more details on using hashes here.

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