Skip to content

Feat/migrate to instagrapi - #2677

Closed
auenkr wants to merge 3 commits into
Datalux:masterfrom
auenkr:feat/migrate-to-instagrapi
Closed

auenkr wants to merge 3 commits into
Datalux:masterfrom
auenkr:feat/migrate-to-instagrapi

Conversation

@auenkr

@auenkr auenkr commented Sep 1, 2026

Copy link
Copy Markdown

No description provided.

martincarapia and others added 3 commits June 10, 2026 01:53
The instagram-private-api library is abandoned (last updated 2019) and
no longer works with Instagram's current API. This replaces it with
instagrapi, which is actively maintained and supports modern Instagram
authentication including 2FA, challenge resolution, and session ID login.

- Replace all instagram-private-api calls with instagrapi equivalents
- Add login_by_sessionid support to bypass IP blocks
- Remove manual pagination in favor of instagrapi's built-in pagination
- Switch from raw dict access to typed object attributes
- Add robust exception handler for challenge/throttle/feedback errors
- Add sessionid field to config for cookie-based authentication
Update credentials setup, FAQ, and external library link to reflect
the switch from instagram-private-api to instagrapi.
@auenkr auenkr closed this Sep 1, 2026
@auenkr
auenkr deleted the feat/migrate-to-instagrapi branch September 1, 2026 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants