From f1991ce928d2a670b37ce4ac0e088459d9e28202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Sat, 23 Jul 2016 18:07:55 +0700 Subject: [PATCH] [arkena] Skip dash formats --- youtube_dl/extractor/arkena.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/youtube_dl/extractor/arkena.py b/youtube_dl/extractor/arkena.py index d003a027b..d7c5eeb8a 100644 --- a/youtube_dl/extractor/arkena.py +++ b/youtube_dl/extractor/arkena.py @@ -81,12 +81,15 @@ def _real_extract(self, url): formats.extend(self._extract_f4m_formats( f_url, video_id, f4m_id=kind, fatal=False)) elif kind == 'dash' or 'mpd' in exts: - formats.extend(self._extract_mpd_formats( - f_url, video_id, mpd_id=kind, fatal=False)) + # TODO: Current DASH formats are broken - $Time$ pattern in + # not implemented yet + # formats.extend(self._extract_mpd_formats( + # f_url, video_id, mpd_id=kind, fatal=False)) + continue elif kind == 'silverlight': # TODO: process when ism is supported (see # https://github.com/rg3/youtube-dl/issues/8118) - pass + continue else: tbr = float_or_none(f.get('Bitrate'), 1000) formats.append({