Downloading stories error #1555
-
Hello! I am an absolute novice, and I am attempting to download an user's stories. Due to my lack of knoweledge, there's a lot of trial and error and trying to figure things out by looking at what other people have done, so thank you in advance for you kindness in helping me out by correcting my mistakes or pointing me in the right direction. This is the full code I have:
And this is the error I get:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
photo/video_download are not intended for stories try: if story.media_type == 1:
print(story.thumbnail_url)
elif story.media_type == 2:
print(story.video_url) |
Beta Was this translation helpful? Give feedback.
-
Thank you, that worked like a charm! |
Beta Was this translation helpful? Give feedback.
-
This is just an add-on question from a total newbie, the script works already and I am just wondering how to streamline the process because my many attempts have ended in failure. Right now to save stories from multiple users, I literally just have this portion of the code over and over in the script:
What I tried to do to simplify the process was have a separate txt file with a list of usernames, and make it so the script would fetch it as target_username and process them in order one by one, but I couldn't make it work. |
Beta Was this translation helpful? Give feedback.
photo/video_download are not intended for stories
try: