aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-11-18 01:07:54 +0700
committerSergey M․ <dstftw@gmail.com>2018-11-18 01:11:10 +0700
commit4167148fa45e43a93ed202e5923223b7797340ea (patch)
tree349c2ad8b85b4978390d14916053919b0ba6b707
parent5bb04792696c41f66f2114b0cc05b01135fa1f68 (diff)
downloadyoutube-dl-4167148fa45e43a93ed202e5923223b7797340ea.tar.xz
[nova:embed] Fix extraction (closes #18222)
-rw-r--r--youtube_dl/extractor/nova.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/nova.py b/youtube_dl/extractor/nova.py
index 80186ec50..901f44b54 100644
--- 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')