• Stars
    star
    1,973
  • Rank 22,591 (Top 0.5 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Another API-less Instagram pictures and videos downloader.

InstaLooter starme

Not all treasure's silver and gold, mate.

build repo versions format coverage doc grade license keepachangelog saythanks

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.

v1.0.0 was completely rewrote from scratch, and as such, will probably break compatibility with your homemade scripts. Meanwhile, great care was taken to keep the CLI as consistent as possible with the previous versions, so it'll hopefully feel like home.

Requirements

coloredlogs Colored output PyPI coloredlogs Source coloredlogs License coloredlogs
dateutil Date manipulation PyPI dateutil Source dateutil License dateutil
docopt CLI arguments parsing PyPI docopt Source docopt License docopt
fs Filesystem handling PyPI fs Source fs License fs
requests HTTP handling PyPI requests Source requests License requests
six Python 2/3 compatibility PyPI six Source six License six
tenacity Retry until success PyPI tenacity Source tenacity License tenacity
tqdm Dynamic output in CLI PyPI tqdm Source tqdm License tqdm
verboselogs More detailed logs PyPI verboselogs Source verboselogs License verboselogs

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 documentation. Yet, you will probably end up using the following command:

pip install --user instalooter --pre

Usage

instalooter comes with its CLI:

$ instalooter user <username> [<directory>] [options]
$ instalooter hashtag <hashtag> [<directory>] [options]
$ instalooter post <post_token> [<directory>] [options]
$ instalooter batch [<batch_file>]

See instalooter --usage for all possible uses, or instalooter --help for a complete usage guide.

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 a cache-specific 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 user instagram

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

$ instalooter hashtag python /tmp -n 20 --get-videos -c MYLOGIN

Download a single post from an url in the ~/Pictures directory:

$ instalooter post "https://www.instagram.com/p/BFB6znLg5s1/" ~/Pictures

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.

More Repositories

1

ffpb

A progress bar for ffmpeg. Yay !
Python
286
star
2

pronto

A Python frontend to (Open Biomedical) Ontologies.
Python
217
star
3

pyrodigal

Cython bindings and Python interface to Prodigal, an ORF finder for genomes and metagenomes. Now with SIMD!
Cython
119
star
4

pyhmmer

Cython bindings and Python interface to HMMER3.
Cython
108
star
5

fs.sshfs

Pyfilesystem2 over SSH using paramiko
Python
86
star
6

rich-msa

A Rich renderable for viewing Multiple Sequence Alignments in the terminal.
Python
75
star
7

peptides.py

Physicochemical properties, indices and descriptors for amino-acid sequences.
Python
51
star
8

lightmotif

A lightweight platform-accelerated library for biological motif scanning using position weight matrices.
Rust
34
star
9

fs.smbfs

Pyfilesystem2 over SMB using pysmb
Python
28
star
10

pyfamsa

Cython bindings and Python interface to FAMSA, an algorithm for ultra-scale multiple sequence alignments.
Python
21
star
11

blanket

A simple Rust macro to derive blanket implementations for your traits.
Rust
19
star
12

pyskani

PyO3 bindings and Python interface to skani, a method for fast genomic identity calculation using sparse chaining.
Rust
18
star
13

fs.archive

Pyfilesystem2 for various archive filesystems
Python
17
star
14

pytrimal

Cython bindings and Python interface to trimAl, a tool for automated alignment trimming. Now with SIMD!
Cython
16
star
15

pymuscle5

Cython bindings and Python interface to MUSCLE v5, a highly efficient and accurate multiple sequence alignment software.
Cython
16
star
16

pyfastani

Cython bindings and Python interface to FastANI, a method for fast whole-genome similarity estimation.
Cython
15
star
17

orthoani

A Python implementation of the OrthoANI algorithm for nucleotide identity measurement.
Python
13
star
18

moclo

Modular cloning simulation with the MoClo framework in Python
Python
12
star
19

gb-io.py

A Python interface to gb-io, a fast GenBank parser written in Rust.
Python
12
star
20

iocursor

A zero-copy file-like wrapper for Python byte buffers, inspired by Rust's std::io::Cursor.
C
12
star
21

mini3di

A NumPy port of the foldseek code for encoding protein structures to 3di.
Python
11
star
22

textwrap-macros

Simple procedural macros to use textwrap utilities at compile time.
Rust
11
star
23

pymemesuite

Cython bindings and Python interface to the MEME suite, a collection of tools for the analysis of sequence motifs.
Cython
10
star
24

jinja2-fsloader

A Jinja2 template loader using PyFilesystem2.
Python
9
star
25

thunar-torrent-property

A small thunar extension displaying the metadata in a torrent file.
C
9
star
26

nanoset.py

A memory-optimized wrapper for Python sets likely to be empty.
Python
8
star
27

uniprot.rs

Rust data structures and parser for the Uniprot database(s).
Rust
8
star
28

pubchem.rs

Rust data structures and client for the PubChem REST API
Rust
8
star
29

pyrodigal-gv

A Pyrodigal extension to predict genes in giant viruses and viruses with alternative genetic code.
Python
7
star
30

packageurl.rs

Rust implementation of the Package URL specification.
Rust
7
star
31

cksfv.rs

A 10x faster drop-in reimplementation of cksfv using Rust and the crc32fast crate.
Rust
7
star
32

pyopal

Cython bindings and Python interface to Opal, a SIMD-accelerated database search aligner.
Python
7
star
33

fs.expose

Python
7
star
34

scihub-pubmed-userscript

A GreaseMonkey userscript to add a Full Text Link button redirecting to Sci-Hub on PubMed article pages.
JavaScript
7
star
35

pruefung

Redundancy checks in pure Rust
Rust
5
star
36

torch-treecrf

A PyTorch implementation of Tree-structured Conditional Random Fields.
Python
4
star
37

proteinogenic

Chemical structure generation for protein sequences as SMILES string.
Rust
4
star
38

opticaldisc

Read optical media filesystems with Rust
Rust
4
star
39

lapucelle-textures

A PPSSPP texture pack for La Pucelle Ragnarok (english patched)
Makefile
3
star
40

kmachine

A toy compiler that produces Kappa code from Counter Machine instructions.
Rust
3
star
41

flips.rs

Rust bindings to Flips, the Floating IPS patcher.
Rust
3
star
42

pyswrd

Cython bindings and Python interface to SWORD (Smith Waterman On Reduced Database), a heuristic method for fast database search.
Cython
3
star
43

nafcodec

Rust coder/decoder for Nucleotide Archive Format (NAF) files.
Rust
3
star
44

embedded-picofont

The PICO-8 font to use with embedded-graphics.
Rust
2
star
45

pyjess

Cython bindings and Python interface to Jess, a 3D template matching software for protein structures.
Cython
2
star
46

annotate.Snakefile

A Snakemake pipeline to copy annotations between GenBank files
Python
2
star
47

althonos.github.io

Yes, I started a hacker blog!
HTML
1
star
48

smatrix

Not the slurm job dispatcher you need, but the one you deserve.
Python
1
star