projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d95a1cc
)
[twitch:stream] Lowercase channel id for stream request (closes #23917)
author
Sergey M․
<dstftw@gmail.com>
Fri, 31 Jan 2020 17:32:25 +0000
(
00:32
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 31 Jan 2020 17:32:25 +0000
(
00:32
+0700)
youtube_dl/extractor/twitch.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/twitch.py
b/youtube_dl/extractor/twitch.py
index a8c2502af8132834a34b8ef9c8ade935dd432604..0db2dca41c7e7e914c66956987d2f921b81b1791 100644
(file)
--- 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)