-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Skipping reposts in instagram stories #8318
-
How can I filter out stories that are just a repost of a post or reel?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments 10 replies
-
This might work, but I'm not sure if it's the name for stories as it is for highlights:
(reshared_story_media_author, #7846, 40562fd)
--filter "not locals().get('author')"
Beta Was this translation helpful? Give feedback.
All reactions
-
How did you check? It's present on my end (albeit set to null since her one repost is of a story). I enabled network monitoring, went to https://www.instagram.com/stories/pokimanelol/, clicked on pokimanelol/?r=1 and extracted the reels_media section of the response.
Beta Was this translation helpful? Give feedback.
All reactions
-
I'm checking the data available to gallery-dl via --write-pages
It is using some older API endpoint to retrieve story data
/v1/feed/reels_media/?reel_ids=USER_ID
Beta Was this translation helpful? Give feedback.
All reactions
-
I'm new to this, but how does that API endpoint not include it when the reels_media section of the response is under xdt_api__v1__feed__reels_media, resembling the API endpoint gallery-dl is using?
Beta Was this translation helpful? Give feedback.
All reactions
-
It's a different endpoint and returns different data fields than the endpoints ones used by the website or the mobile application.
As I said in #8318 (reply in thread), use --write-pages when using gallery-dl on a user's stories and check the data in the file it produces.
For example, here's the formatted data from https://www.instagram.com/stories/pokimanelol:
https://gist.github.com/mikf/c6f6391e8f57376126cc73d580076c0b
(It doesn't contain an xdt_api__v1__feed__reels_media field)
Beta Was this translation helpful? Give feedback.
All reactions
-
I understand the data is different; it's just their names are basically identical (xdt_api__v1__feed__reels_media and /v1/feed/reels_media/), which confuses me. What endpoint does the website use for stories?
Beta Was this translation helpful? Give feedback.
All reactions
-
I found a bug
Fixed in 329ac40
Beta Was this translation helpful? Give feedback.
All reactions
-
🎉 2