Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Access to a JsonExportable's Metadata #2170

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

adamcesco
Copy link

@adamcesco adamcesco commented Jan 17, 2024

  • A motivation for this change

    • Fixes the lack of access to post data that is only accessable through the instagram-private-api (e.g. saved_collection_ids).
    • added get_json_structure(structure: JsonExportable) function to be an attribute of an Instaloader instance. This allows for the access of post data that is not directly accessible through the Instaloader API (e.g. saved_collection_ids).
  • The completeness of this change

    • Is it just a proof of concept? No
    • Is the documentation updated (if appropriate)? No
    • Do you consider it ready to be merged or is it a draft? Read to be merged
    • Can we help you at some point? Sure!

… attribute of an `Instaloader` instance. This allows for the access of post data that is not directly accessible (e.g. saved_collection_ids)
…able and the resulting dict object includes metdata and iphone struct data
@aandergr
Copy link
Member

The implementation does not seem well though-through. The Post._iphone_struct method is simply duplicated and private methods are called from outside of the class.

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.

None yet

2 participants