Python | Getting pictures from Instagram

In this post you will learn how you can save pictures from Instagram account in your PC using Python.


You just need to install "instalooter" into your Python packages and run the command. There are many specific commands you can use and here I'll show you the most used ones.


InstaLooter is a program that can download any picture or video associated from an Instagram profile, without any API access.

pip install instalooter

Examples:


#1) Download all pictures from the XXXYYY profile in the current directory:

instalooter user XXXYYY

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

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

#3) Download the last five photos:

instalooter -n 5 user STENGE.info

Practical example:


And here you have the photos:



gif

32 views0 comments

Recent Posts

See All

Run Python Automation Script to fetch Cisco Routers and Switches details in Bulk. The details includes “hostname, uptime, current version, current image, serial number, device model, device memory” Pr

Here I am going to show you an example how to encrypt PDF to make it password protected using PyPDF2 module in Python programming language. Piece of cake 🍰 This example we are going to read the exist

Most of us have seen the dreaded “No Internet” error message on Google Chrome. You can actually turn this screen into a fun, dino-themed endless runner game and, even better, hack the hidden Easter eg