From 9a1fb1a10b06a25c3894f48b7c8acbd690b05c52 Mon Sep 17 00:00:00 2001 From: DevilXD Date: Sat, 4 Dec 2021 15:29:52 +0100 Subject: [PATCH] Better user agent --- constants.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/constants.py b/constants.py index bca2c11..0c1c617 100644 --- a/constants.py +++ b/constants.py @@ -10,7 +10,10 @@ AUTH_URL = "https://passport.twitch.tv" WEBSOCKET_URL = "wss://pubsub-edge.twitch.tv/v1" GQL_URL = "https://gql.twitch.tv/gql" CLIENT_ID = "kimne78kx3ncx6brgo4mv6wki5h1ko" -USER_AGENT = "Twitch Drops App" +USER_AGENT = ( + "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) " + "Chrome/96.0.4664.45 Safari/537.36" +) SETTINGS_PATH = "settings.json" COOKIES_PATH = "cookies.pickle" PING_INTERVAL = timedelta(minutes=3)