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",