From: Sergey M․ Date: Fri, 31 Jan 2020 17:32:25 +0000 (+0700) Subject: [twitch:stream] Lowercase channel id for stream request (closes #23917) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=00de61a98feeb2cb03bbc3e467f2366314b61342;p=youtube-dl [twitch:stream] Lowercase channel id for stream request (closes #23917) --- diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py index a8c2502af..0db2dca41 100644 --- a/youtube_dl/extractor/twitch.py +++ b/youtube_dl/extractor/twitch.py @@ -575,8 +575,8 @@ class TwitchStreamIE(TwitchBaseIE): channel_id = self._match_id(url) stream = self._call_api( - 'kraken/streams/%s?stream_type=all' % channel_id, channel_id, - 'Downloading stream JSON').get('stream') + 'kraken/streams/%s?stream_type=all' % channel_id.lower(), + channel_id, 'Downloading stream JSON').get('stream') if not stream: raise ExtractorError('%s is offline' % channel_id, expected=True)