Changes
- Replace the rejected legacy users_stories_gql query with modern XDT web GraphQL (#2940).
- Cap batches at 25 user IDs, preserve per-user amount limits, normalize story_feed_media identifiers, and keep story owners acyclic.
Upgrade with: python -m pip install -U instagrapi
Validation
- Full regression suite: 1440 passed, 7 skipped, 250 subtests.
- Exact-head PR and final main Package/CodeQL checks passed.
- Live saved-session validation passed with 1,25,25,1 request batches.
- Published wheel/sdist hashes match GitHub; all 73 runtime files match the release source.