add quotes to gql query

This commit is contained in:
KryptonicDragon 2024-05-17 19:52:55 -04:00 committed by Ivan Habunek
parent 47d62bc471
commit a99a472ad3

View File

@ -422,7 +422,7 @@ def get_access_token(video_id: str, auth_token: Optional[str] = None) -> AccessT
query = f""" query = f"""
{{ {{
videoPlaybackAccessToken( videoPlaybackAccessToken(
id: {video_id}, id: "{video_id}",
params: {{ params: {{
platform: "web", platform: "web",
playerBackend: "mediaplayer", playerBackend: "mediaplayer",