aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/svt.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-09-17 19:25:31 +0700
committerSergey M․ <dstftw@gmail.com>2016-09-17 19:25:31 +0700
commit21d21b0c72a731d4ff5affa2182fbe1687c031a0 (patch)
tree086a0705c46d0e2504823b2bc807b1c629ad8aa0 /youtube_dl/extractor/svt.py
parentb4c1d6e800a5b28accf4ba588b8fa3f0c420ce13 (diff)
[svt] Fix DASH formats extraction
Diffstat (limited to 'youtube_dl/extractor/svt.py')
-rw-r--r--youtube_dl/extractor/svt.py2
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':