浏览代码

[ooyala] fix typo

Remita Amine 8 年之前
父节点
当前提交
99d537a5e0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/ooyala.py

+ 1 - 1
youtube_dl/extractor/ooyala.py

@@ -53,7 +53,7 @@ class OoyalaBaseIE(InfoExtractor):
                 elif delivery_type == 'hds' or ext == 'f4m':
                 elif delivery_type == 'hds' or ext == 'f4m':
                     formats.extend(self._extract_f4m_formats(
                     formats.extend(self._extract_f4m_formats(
                         s_url + '?hdcore=3.7.0', embed_code, f4m_id='hds', fatal=False))
                         s_url + '?hdcore=3.7.0', embed_code, f4m_id='hds', fatal=False))
-                elif delivery_type == 'hds' or ext == 'mpd':
+                elif delivery_type == 'dash' or ext == 'mpd':
                     formats.extend(self._extract_mpd_formats(
                     formats.extend(self._extract_mpd_formats(
                         s_url, embed_code, mpd_id='dash', fatal=False))
                         s_url, embed_code, mpd_id='dash', fatal=False))
                 elif delivery_type == 'smooth':
                 elif delivery_type == 'smooth':