mirror of
https://github.com/instaloader/instaloader.git
synced 2026-10-24 01:19:38 -07:00
Query Post metadata through api/graphql when not logged in
This commit is contained in:
@@ -415,6 +415,8 @@ class Post:
|
||||
"shortcode": self.shortcode,
|
||||
"__relay_internal__pv__PolarisAIGMMediaWebLabelEnabledrelayprovider": False,
|
||||
},
|
||||
# As the logged-out web app does.
|
||||
web_api=not self._context.is_logged_in,
|
||||
)
|
||||
web_info = (resp.get("data") or {}).get("xdt_api__v1__media__shortcode__web_info") or {}
|
||||
items = web_info.get("items")
|
||||
|
||||
Reference in New Issue
Block a user