mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-22 07:43:08 +00:00
[twitch:stream] Lowercase channel id for stream request (closes #23917)
This commit is contained in:
parent
d95a1cc98e
commit
00de61a98f
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue