Browse Source

[svt] Fix DASH formats extraction

totalwebcasting
Sergey M․ 8 years ago
parent
commit
21d21b0c72
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/svt.py

+ 1
- 1
youtube_dl/extractor/svt.py View 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':


Loading…
Cancel
Save