Skip to content

Commit

Permalink
[nova:embed] Fix extraction (closes #23672)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtrmal authored and pareronia committed Jun 22, 2020
1 parent f0de1e2 commit 59beba9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions youtube_dl/extractor/nova.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ def _real_extract(self, url):

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:
Expand Down

0 comments on commit 59beba9

Please sign in to comment.