DEV Community

Discussion on: Downloading recent Instagram photos using instascrape and Python

Collapse
yaduvarman profile image
yaduvarman • Edited on

can we download just single post from an user,like you enter the URL of a post and then it just downloads.
....can you please tell me

Collapse
chrisgreening profile image
Chris Greening Author

Yes! Just use the Post object on it's own like so:

from instascrape import Post
google_post = Post("https://www.instagram.com/p/CGiWeQjl4DI/")
google_post.download("/your/image/path.png")
Enter fullscreen mode Exit fullscreen mode