A feature-rich command-line audio/video downloader
[twitch:stream] Fix channel_id in different case (Closes #6263)
Sergey M․1793d71db61a
diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.pyindex 92b6dc1b82..ab557a1a57 100644--- a/youtube_dl/extractor/twitch.py+++ b/youtube_dl/extractor/twitch.py@@ -346,6 +346,8 @@ class TwitchStreamIE(TwitchBaseIE):'http://www.twitch.tv/%s/profile' % channel_id,'TwitchProfile', channel_id)+ channel_id = stream.get('channel', {}).get('name') or channel_id.lower()+access_token = self._download_json('%s/api/channels/%s/access_token' % (self._API_BASE, channel_id), channel_id,'Downloading channel access token')