youtube-dl

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

commit 21d21b0c72a731d4ff5affa2182fbe1687c031a0
parent b4c1d6e800a5b28accf4ba588b8fa3f0c420ce13
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat, 17 Sep 2016 19:25:31 +0700

[svt] Fix DASH formats extraction

Diffstat:
Myoutube_dl/extractor/svt.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/svt.py b/youtube_dl/extractor/svt.py @@ -16,7 +16,7 @@ class SVTBaseIE(InfoExtractor): def _extract_video(self, video_info, video_id): formats = [] for vr in video_info['videoReferences']: - player_type = vr.get('playerType') + player_type = vr.get('playerType') or vr.get('format') vurl = vr['url'] ext = determine_ext(vurl) if ext == 'm3u8':