youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 2bfc0e97f655a1c1c059cbc3e27e44faafc9d622
parent 7404061141147d0346d6c27e7a76ff7285658219
Author: Sergey M <dstftw@gmail.com>
Date:   Tue,  8 Mar 2016 13:02:56 +0600

Merge pull request #8791 from benjamincongdon/Twitch-AudioOnly-Rebased

[twitch] Support for "Audio_Only" format
Diffstat:
Myoutube_dl/extractor/twitch.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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',