]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/svt.py
debian/control: Rerun wrap-and-sort.
[youtubedl] / youtube_dl / extractor / svt.py
index 1c04dfb7bf757477d134cc7caa223ab47d0800ba..fb0a4b24ef5bf65ff13ca2288395f09540e71d48 100644 (file)
@@ -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':