Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backups
youtube-dl
Commits
8cd809fb
Unverified
Commit
8cd809fb
authored
Jan 10, 2020
by
Jan 'Yenda' Trmal
Committed by
Sergey M․
Feb 15, 2020
Browse files
[nova:embed] Fix extraction (closes #23672)
parent
d6aa1db7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
youtube_dl/extractor/nova.py
youtube_dl/extractor/nova.py
+7
-0
No files found.
youtube_dl/extractor/nova.py
View file @
8cd809fb
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment