diff options
| author | Sergey M <dstftw@gmail.com> | 2016-03-08 13:02:56 +0600 | 
|---|---|---|
| committer | Sergey M <dstftw@gmail.com> | 2016-03-08 13:02:56 +0600 | 
| commit | 2bfc0e97f655a1c1c059cbc3e27e44faafc9d622 (patch) | |
| tree | 248d7d667af98a78197c120c9efca4473036f4cb | |
| parent | 7404061141147d0346d6c27e7a76ff7285658219 (diff) | |
| parent | ac45505528a71e729a47153ce60053f861e644a9 (diff) | |
Merge pull request #8791 from benjamincongdon/Twitch-AudioOnly-Rebased
[twitch] Support for "Audio_Only" format
| -rw-r--r-- | youtube_dl/extractor/twitch.py | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py index 8639293e3..958bf8fff 100644 --- a/youtube_dl/extractor/twitch.py +++ b/youtube_dl/extractor/twitch.py @@ -252,6 +252,7 @@ class TwitchVodIE(TwitchItemBaseIE):                  self._USHER_BASE, item_id,                  compat_urllib_parse.urlencode({                      'allow_source': 'true', +                    'allow_audio_only': 'true',                      'allow_spectre': 'true',                      'player': 'twitchweb',                      'nauth': access_token['token'], @@ -431,6 +432,7 @@ class TwitchStreamIE(TwitchBaseIE):          query = {              'allow_source': 'true', +            'allow_audio_only': 'true',              'p': random.randint(1000000, 10000000),              'player': 'twitchweb',              'segment_preference': '4', | 
