projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bb0479
)
[nova:embed] Fix extraction (closes #18222)
author
Sergey M․
<dstftw@gmail.com>
Sat, 17 Nov 2018 18:07:54 +0000
(
01:07
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 17 Nov 2018 18:11:10 +0000
(
01:11
+0700)
youtube_dl/extractor/nova.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nova.py
b/youtube_dl/extractor/nova.py
index 80186ec50cef0e580e1e07104006f8e3f89fa799..901f44b54f40c2c02e120c636a80b0b5bfb4ea2e 100644
(file)
--- a/
youtube_dl/extractor/nova.py
+++ b/
youtube_dl/extractor/nova.py
@@
-35,7
+35,7
@@
class NovaEmbedIE(InfoExtractor):
bitrates = self._parse_json(
self._search_regex(
- r'(?s)
bitrates
\s*=\s*({.+?})\s*;', webpage, 'formats'),
+ r'(?s)
(?:src|bitrates)
\s*=\s*({.+?})\s*;', webpage, 'formats'),
video_id, transform_source=js_to_json)
QUALITIES = ('lq', 'mq', 'hq', 'hd')