top of page

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

38 views0 comments

Recent Posts

See All

This article illustrates how to automate mouse and keyboard movements using pyautogui module in python. This module is not preloaded with python. So to install it run the following command: The code s

Edit a website – even if it’s not yours! This is how you can edit any website directly from your browser: #1) Open a Webpage; #2) Right-click on any spot in the website, select “Inspect Element”; #3)

How to encrypt and decrypt files in Python When you need to encrypt text, it is important to understand the different options you have. There are different ways to encrypt text, like using a password,

bottom of page