diff --git a/yt_dlp/extractor/nova.py b/yt_dlp/extractor/nova.py index bb8f6dbf76..00a64f88d1 100644 --- a/yt_dlp/extractor/nova.py +++ b/yt_dlp/extractor/nova.py @@ -54,7 +54,7 @@ class NovaEmbedIE(InfoExtractor): player = self._parse_json( self._search_regex( - (r'(?:replacePlaceholders.*?:\s*)?replacePlaceholders\s*\(\s*(?P{.*})\s*\)(?:\s*\))?\s*,', + (r'(?:(?:replacePlaceholders|processAdTagModifier).*?:\s*)?(?:replacePlaceholders|processAdTagModifier)\s*\(\s*(?P{.*?})\s*\)(?:\s*\))?\s*,', r'Player\.init\s*\([^,]+,(?P\s*\w+\s*\?)?\s*(?P{(?(cndn).+?|.+)})\s*(?(cndn):|,\s*{.+?}\s*\)\s*;)'), webpage, 'player', default='{}', group='json'), video_id, fatal=False) if player: