From: Sergey M․ Date: Sat, 17 Sep 2016 12:25:31 +0000 (+0700) Subject: [svt] Fix DASH formats extraction X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=21d21b0c72a731d4ff5affa2182fbe1687c031a0;p=youtube-dl [svt] Fix DASH formats extraction --- diff --git a/youtube_dl/extractor/svt.py b/youtube_dl/extractor/svt.py index 1c04dfb7b..fb0a4b24e 100644 --- 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':