diff --git a/instaloader/structures.py b/instaloader/structures.py index e1d9f60..941b03c 100644 --- a/instaloader/structures.py +++ b/instaloader/structures.py @@ -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")