Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Skipping reposts in instagram stories #8318

Unanswered
powerfulsaber asked this question in Q&A
Discussion options

How can I filter out stories that are just a repost of a post or reel?

You must be logged in to vote

Replies: 2 comments 10 replies

Comment options

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')"
You must be logged in to vote
10 replies
Comment options

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.

Comment options

mikf Oct 1, 2025
Maintainer

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

Comment options

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?

Comment options

mikf Oct 6, 2025
Maintainer

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)

Comment options

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?

Comment options

I found a bug

Fixed in 329ac40

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /