How to download Instagram Images using Python?

download_instagram_images_using_python

Simple python code to download Instagram Images. Below code uses Instalooter python library.

Python code to download Instagram photos

from instalooter.looters import PostLooter

looter = PostLooter('code of the post')#https://www.instagram.com/p/<code>/
looter.download_pictures('folder path', media_count = 10)#folder location to download images

Note: You can limit the maximum number of downloading images by setting media_count parameter in above code. I have set it to 10.

Instagram post code

Instagram post code example. copy the code only

Also see
Python Pillow tutorial to manipulate images
Download Image from it’s URL in Python

About the Author

SRINI S

A passionate blogger. Love to share solutions and best practices on wordpress hosting, issues and fixes, excel VBA macros and other apps

Leave a Reply

Your email address will not be published.