aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan 'Yenda' Trmal <jtrmal@gmail.com>2020-01-10 10:14:18 +0100
committerSergey M․ <dstftw@gmail.com>2020-02-15 02:00:52 +0700
commit8cd809fb3dc446ec06afa2c1d398c9fe31a435cc (patch)
tree1aefd3ba2af1b85502d219971bf8e1e76b6e957e
parentd6aa1db7ed0cd70570f1a01c7fc25a49e153d15b (diff)
[nova:embed] Fix extraction (closes #23672)
-rw-r--r--youtube_dl/extractor/nova.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/youtube_dl/extractor/nova.py b/youtube_dl/extractor/nova.py
index 901f44b54..aefd8eab1 100644
--- a/youtube_dl/extractor/nova.py
+++ b/youtube_dl/extractor/nova.py
@@ -43,6 +43,13 @@ class NovaEmbedIE(InfoExtractor):
formats = []
for format_id, format_list in bitrates.items():
+ if format_id == 'hls':
+ m3u8_url = url_or_none(format_list)
+ if not m3u8_url:
+ continue
+ formats.extend(self._extract_m3u8_formats(
+ m3u8_url, video_id, ext='mp4', m3u8_id='hls', fatal=False))
+
if not isinstance(format_list, list):
continue
for format_url in format_list: