Download Instagram posts using Python ⚡
In the 2nd post of the series, let's see how to download Instagram posts using Python.
To do this, we need to use a package called
Run the below command to install the package
pip install instaloader
To download an Instagram post of a public account copy the post id from the URL. if the below is an URL,
The post id will be
Now, run the below command in the directory you want to download the image.
instaloader -- -(post-id)
instaloader -- -CFtle2lpVC1
This method only works for public profiles, to learn more visit