From 2bd2845790a97fd72058c72cc0164d852df9feae Mon Sep 17 00:00:00 2001 From: DevilXD <4180725+DevilXD@users.noreply.github.com> Date: Sun, 23 Jun 2024 00:03:09 +0200 Subject: [PATCH] Update DirectoryPage_Game GQL operation --- constants.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/constants.py b/constants.py index cb5d9b5..67b679e 100644 --- a/constants.py +++ b/constants.py @@ -325,9 +325,9 @@ GQL_OPERATIONS: dict[str, GQLOperation] = { # returns live channels for a particular game "GameDirectory": GQLOperation( "DirectoryPage_Game", - "3c9a94ee095c735e43ed3ad6ce6d4cbd03c4c6f754b31de54993e0d48fd54e30", + "e303f59d4836d19e66cb0f5a1efe15fbe2a1c02d314ad4f09982e825950b293d", variables={ - "limit": ..., # limit of channels returned + "limit": 30, # limit of channels returned "slug": ..., # game slug "imageWidth": 50, "options": { @@ -335,10 +335,12 @@ GQL_OPERATIONS: dict[str, GQLOperation] = { "freeformTags": None, "includeRestricted": ["SUB_ONLY_LIVE"], "recommendationsContext": {"platform": "web"}, - "sort": "RELEVANCE", + "sort": "RELEVANCE", # also accepted: "VIEWER_COUNT" + "systemFilters": [], "tags": [], "requestID": "JIRA-VXP-2397", }, + "includePreviewBlur": True, "sortTypeIsRecency": False, }, ),