projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
425f3fd
)
[twitch:stream] Add support for rebroadcasts (closes #10995)
author
Sergey M․
<dstftw@gmail.com>
Sun, 23 Oct 2016 10:20:45 +0000
(17:20 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 23 Oct 2016 10:20:45 +0000
(17:20 +0700)
youtube_dl/extractor/twitch.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/twitch.py
b/youtube_dl/extractor/twitch.py
index 46c2cfe7b251beb65422238a2158b48ad0a1d795..77414a242d68f2309985235f0418d47c77194417 100644
(file)
--- a/
youtube_dl/extractor/twitch.py
+++ b/
youtube_dl/extractor/twitch.py
@@
-398,7
+398,7
@@
class TwitchStreamIE(TwitchBaseIE):
channel_id = self._match_id(url)
stream = self._call_api(
- 'kraken/streams/%s' % channel_id, channel_id,
+ 'kraken/streams/%s
?stream_type=all
' % channel_id, channel_id,
'Downloading stream JSON').get('stream')
if not stream:
@@
-417,6
+417,7
@@
class TwitchStreamIE(TwitchBaseIE):
query = {
'allow_source': 'true',
'allow_audio_only': 'true',
+ 'allow_spectre': 'true',
'p': random.randint(1000000, 10000000),
'player': 'twitchweb',
'segment_preference': '4',