diff options
author | Sergey M․ <[email protected]> | 2016-09-17 19:25:31 +0700 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2016-09-17 19:25:31 +0700 |
commit | 21d21b0c72a731d4ff5affa2182fbe1687c031a0 (patch) | |
tree | 086a0705c46d0e2504823b2bc807b1c629ad8aa0 /youtube_dl/extractor/svt.py | |
parent | b4c1d6e800a5b28accf4ba588b8fa3f0c420ce13 (diff) | |
download | youtube-dl-21d21b0c72a731d4ff5affa2182fbe1687c031a0.tar.gz youtube-dl-21d21b0c72a731d4ff5affa2182fbe1687c031a0.zip |
[svt] Fix DASH formats extraction
Diffstat (limited to 'youtube_dl/extractor/svt.py')
-rw-r--r-- | youtube_dl/extractor/svt.py | 2 |
1 files changed, 1 insertions, 1 deletions
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': |