Download Instagram profile picture using python
Saurabh Chavan
Posted on November 12, 2020
Hello everyone☀️❤️
Welcome🤝🙏
In this tutorial, we will learn🧾
How to download Instagram profile picture using python🐍.
So,For that we need one module, the name of the module is Instaloader
So,first, download the module Instaloader.
How to download👇
Go to the command prompt.
Simple search cmd or command prompt in the search box and open command prompt
you can see in the below 👇picture and open command prompt.
ok you successfully opened command prompt🦸.
So now using the following command you can download the Instaloader module✨.
$ Pip install Instaloader
Simple type Pip install Instaloader in the command prompt and then Instaloader will be download🛒.
You successfully 🦸downloaded instaloader module.
So now go to your favourite 💻editor my favourite is VScode.you can download VScode from here https://code.visualstudio.com/download
Go to, The VScode and create a python file.The name of python file is insta_profile.py(you can write your own).
Then📝Write the code in the python file.
import instaloader
mod=instaloader.Instaloader()
user=input("Enter instagram username:")
mod.download_profile(user,profile_pic_only=True)
So we completed the code now run the python file🏃.
Open terminal and type..
$ Python insta_profile.py(Python filename.py)
Enter Instagram username:100rabhch(your Instagram username)
Your profile picture is ready💁.
🚶Go to the python file location .
🕺You can see the name of the folder 100rabhch(your Instagram username folder)open it.
You can see your profile picture successfully download🕺🕺.
🤵hope this tutorial is helpfull.
Thank you 😻⚡
Here is tutorial video👇
https://youtu.be/8_FGgxrNWt8
Posted on November 12, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.