From b79a0a1e8b08adf9fd03376f7ef532ca101d83b3 Mon Sep 17 00:00:00 2001 From: npiriou <71148909+npiriou@users.noreply.github.com> Date: Mon, 6 Jul 2026 01:49:03 +0700 Subject: [PATCH] Fix profile metadata GraphQL query flags (#2696) --- instaloader/structures.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/instaloader/structures.py b/instaloader/structures.py index 1f4ca60..30ccd37 100644 --- a/instaloader/structures.py +++ b/instaloader/structures.py @@ -990,8 +990,10 @@ class Profile: "__relay_internal__pv__PolarisCannesGuardianExperienceEnabledrelayprovider": True, "__relay_internal__pv__PolarisCASB976ProfileEnabledrelayprovider": False, "__relay_internal__pv__PolarisRepostsConsumptionEnabledrelayprovider": False, + "__relay_internal__pv__PolarisWebSchoolsEnabledrelayprovider": False, + "enable_integrity_filters": True, } - data = self._context.doc_id_graphql_query('25980296051578533', variables) + data = self._context.doc_id_graphql_query('27937681195819736', variables) if data is None: raise QueryReturnedNotFoundException('GraphQL query returned None') user_data = data.get('data', {}).get('user')