Giter Site home page Giter Site logo

instalooter's Introduction

InstaLooter Starme

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.

instalooter's People

Contributors

althonos avatar bmass02 avatar cebolan avatar dlh avatar gffde3 avatar gitname avatar mohamedim avatar mohan3d avatar pseudosky avatar rlyons avatar susundberg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.