diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-11-18 01:07:54 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-11-18 01:11:10 +0700 |
commit | 4167148fa45e43a93ed202e5923223b7797340ea (patch) | |
tree | 349c2ad8b85b4978390d14916053919b0ba6b707 /youtube_dl/extractor | |
parent | 5bb04792696c41f66f2114b0cc05b01135fa1f68 (diff) |
[nova:embed] Fix extraction (closes #18222)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/nova.py | 2 |
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') |