aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/twitch.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-06-28 13:25:59 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-06-28 13:33:09 +0800
commitbb512e57dc138b261cf9c71a833b0df5d5ba849f (patch)
treec8b31eed46e924e1220b0cca4ee87f3b73318a58 /youtube_dl/extractor/twitch.py
parent23e7cba87fbcec9aa2b1fbccf60c2d560df3d7ad (diff)
downloadyoutube-dl-bb512e57dc138b261cf9c71a833b0df5d5ba849f.tar.xz
[twitch:vod] Fix 'Source' format in m3u8 (closes #6115)
Diffstat (limited to 'youtube_dl/extractor/twitch.py')
-rw-r--r--youtube_dl/extractor/twitch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py
index 94bd6345d..3e798e62d 100644
--- a/youtube_dl/extractor/twitch.py
+++ b/youtube_dl/extractor/twitch.py
@@ -215,7 +215,7 @@ class TwitchVodIE(TwitchItemBaseIE):
'%s/api/vods/%s/access_token' % (self._API_BASE, item_id), item_id,
'Downloading %s access token' % self._ITEM_TYPE)
formats = self._extract_m3u8_formats(
- '%s/vod/%s?nauth=%s&nauthsig=%s'
+ '%s/vod/%s?nauth=%s&nauthsig=%s&allow_source=true'
% (self._USHER_BASE, item_id, access_token['token'], access_token['sig']),
item_id, 'mp4')
self._prefer_source(formats)