This patch release fixes Reels feed parsing and pagination in reels(), explore_reels() and friends_reels().
- Accept current
items_with_adsmedia responses when legacyitemsis empty or absent (#2784). - Return no more than the requested
amount, including on the final page (#2785). - Stop pagination when a cursor is missing or has already been visited (#2786).
- Honor
last_media_pkwhen media IDs arrive as strings, stopping before the matching media (#2787).
The fixes were checked individually and together, including regression tests and offline replay of previously captured responses. No new live login or upload was performed for this release.
Install with pip install -U instagrapi.