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"""
{{
videoPlaybackAccessToken(
id: {video_id},
id: "{video_id}",
params: {{
platform: "web",
playerBackend: "mediaplayer",