From: Sergey M․ Date: Sat, 17 Nov 2018 18:07:54 +0000 (+0700) Subject: [nova:embed] Fix extraction (closes #18222) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=4167148fa45e43a93ed202e5923223b7797340ea;p=youtube-dl.git [nova:embed] Fix extraction (closes #18222) --- 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')