From 9f5f6ea523810401186426a3949ae622f70f9a6c Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Fri, 8 Nov 2019 11:30:39 -0800 Subject: [PATCH] Change api version to "v5" for getting auth token --- downloader/downloader/twitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/downloader/downloader/twitch.py b/downloader/downloader/twitch.py index 7124823..ba1b266 100644 --- a/downloader/downloader/twitch.py +++ b/downloader/downloader/twitch.py @@ -18,7 +18,7 @@ def get_master_playlist(channel, session=None): "https://api.twitch.tv/api/channels/{}/access_token.json".format(channel), params={'as3': 't'}, headers={ - 'Accept': 'application/vnd.twitchtv.v3+json', + 'Accept': 'application/vnd.twitchtv.v5+json', 'Client-ID': 'pwkzresl8kj2rdj6g7bvxl9ys1wly3j', }, metric_name='get_access_token',