señor.woofers
señor.woofers

Reputation: 129

Download single most recent post from Instagram profile using Instaloader

i am trying to download the latest post of a profile using "Instaloader" in Python. I have found something about hashtags, but not about profiles. So how do i download only the latest post of a profile? Thanks in advance!

Upvotes: 0

Views: 1128

Answers (1)

Altareos
Altareos

Reputation: 882

The documentation has a section on profiles.

From the examples:

L = Instaloader()
profile = Profile.from_username(L.context, USERNAME)

You can then use the get_posts method to get a profile's posts, including the latest one.

Upvotes: 0

Related Questions