Improve on the GQL integrity headers

This commit is contained in:
DevilXD committed 2022-09-16 15:03:25 +02:00
1 parent 8da6ae8c8b
commit efd48a8287
1 file changed
+3
+3
View File
@@ -179,6 +179,9 @@ class _AuthState:
def gql_headers(self, *, integrity: bool) -> JsonType:
headers = {
"Authorization": f"OAuth {self.access_token}",
"Accept": "*/*",
"Origin": "https://www.twitch.tv",
"Referer": "https://www.twitch.tv/",
"Client-Id": CLIENT_ID,
"Client-Session-Id": self.session_id,
"Client-Version": self.client_version,