From a99a472ad3e1a4dc27c27a39d442074220ee4f54 Mon Sep 17 00:00:00 2001 From: KryptonicDragon <10343367+KryptonicDragon@users.noreply.github.com> Date: Fri, 17 May 2024 19:52:55 -0400 Subject: [PATCH] add quotes to gql query --- twitchdl/twitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitchdl/twitch.py b/twitchdl/twitch.py index 9f6881e..9a9b0d8 100644 --- a/twitchdl/twitch.py +++ b/twitchdl/twitch.py @@ -422,7 +422,7 @@ def get_access_token(video_id: str, auth_token: Optional[str] = None) -> AccessT query = f""" {{ videoPlaybackAccessToken( - id: {video_id}, + id: "{video_id}", params: {{ platform: "web", playerBackend: "mediaplayer",