Skip to content

socid_extractor returns no data for current Instagram JSON responses #2846

Description

@tgalery

Version: maigret v0.6.2

Steps to reproduce

maigret <username> --site instagram

Result: Extended info extracted from 0 accounts. despite Instagram returning a CLAIMED result with a rich profile (bio, external links, tagged usernames).

Root cause
extract_ids_data() in checking.py calls socid_extractor.extract(html_text). No exception is thrown (confirmed via --debug / debug.log) — it just returns {}. Instagram's current response is a GraphQL-style data.user.{...} JSON blob, not the older window._sharedData= / ld+json structure socid_extractor's Instagram parser rules expect. So extraction silently no-ops on current Instagram markup.

Suggested fix
Update (or file upstream against socid_extractor) an Instagram parser rule matching the current JSON shape. Happy to share a sample anonymized response if useful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions