You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to know if there is any way to download a full profile. That is, all of it's Media's.
I tried as follows:
from instagrapi import Client
cl = Client()
cl.load_settings("session.json")
user = cl.user_info_by_username('test')
for media in cl.user_medias(user.pk):
for resource in media.resources:
try:
cl.video_download(resource.pk, folder=f"data/")
except:
cl.photo_download(resource.pk, folder=f"data/")
However, it's lacking all the reels, igtv, etc.
I would like to know if is there any elegant solution to this.
This discussion was converted from issue #1459 on July 16, 2023 10:56.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to know if there is any way to download a full profile. That is, all of it's Media's.
I tried as follows:
However, it's lacking all the reels, igtv, etc.
I would like to know if is there any elegant solution to this.
Beta Was this translation helpful? Give feedback.
All reactions