pypi instagrapi 2.4.0

latest release: 2.4.1
12 hours ago

Highlights

  • Added location lookup helpers: location_search_name() and location_search_pk().
  • Added note lookup helpers: get_note_by_user() and get_note_text_by_user().
  • Improved story sticker handling for link + hashtag uploads and extraction.
  • Added GraphQL fallback for user id / username lookups.
  • Added safer handling for newer challenge flows like /auth_platform/ and UFAC web bloks.

Fixes

  • Fixed direct reply visual media timestamps.
  • Fixed empty resource/image candidate handling.
  • Fixed share-post URL resolution before media shortcode decoding.
  • Preserved explicit country in set_settings().
  • Restored Python 3.9 compatibility.
  • Handled missing web profile fields and missing direct thread flags.
  • Updated security-sensitive dependencies (requests, Pillow, pytest).

Documentation

  • Refreshed README and usage docs.
  • Replaced issue templates with issue forms.

Verification

  • Built release artifacts for 2.4.0 successfully (sdist and wheel).

Don't miss a new instagrapi release

NewReleases is sending notifications on new releases.