commit 00de61a98feeb2cb03bbc3e467f2366314b61342
parent d95a1cc98e83a9e0be291dface57ccc48b29e86b
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat,  1 Feb 2020 00:32:25 +0700

[twitch:stream] Lowercase channel id for stream request (closes #23917)

Diffstat:
Myoutube_dl/extractor/twitch.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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)