projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
release 2020.01.01
[youtube-dl]
/
youtube_dl
/
extractor
/
nova.py
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')