Skip to content

A feature-rich command-line audio/video downloader

[svt] Fix DASH formats extraction

Sergey M․21d21b0c72a7
diff --git a/youtube_dl/extractor/svt.py b/youtube_dl/extractor/svt.py
index 1c04dfb7bf..fb0a4b24ef 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':