From 408965e75d5124a3f857b17aabbce976e1175f1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ram=C3=B3n=20Sola?= Date: Mon, 4 Oct 2021 09:41:10 +0200 Subject: [PATCH] [atresplayer] fix 'Too many values to unpack' --- yt_dlp/extractor/atresplayer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/extractor/atresplayer.py b/yt_dlp/extractor/atresplayer.py index 4dc4b405d..548998b8d 100644 --- a/yt_dlp/extractor/atresplayer.py +++ b/yt_dlp/extractor/atresplayer.py @@ -96,11 +96,11 @@ def _real_extract(self, url): continue src_type = source.get('type') if src_type == 'application/vnd.apple.mpegurl': - formats, subtitles = self._extract_m3u8_formats( + formats, subtitles = self._extract_m3u8_formats_and_subtitles( src, video_id, 'mp4', 'm3u8_native', m3u8_id='hls', fatal=False) elif src_type == 'application/dash+xml': - formats, subtitles = self._extract_mpd_formats( + formats, subtitles = self._extract_mpd_formats_and_subtitles( src, video_id, mpd_id='dash', fatal=False) self._sort_formats(formats)