commit 4167148fa45e43a93ed202e5923223b7797340ea
parent 5bb04792696c41f66f2114b0cc05b01135fa1f68
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sun, 18 Nov 2018 01:07:54 +0700

[nova:embed] Fix extraction (closes #18222)

Diffstat:
Myoutube_dl/extractor/nova.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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')