diff --git a/yt_dlp/extractor/nova.py b/yt_dlp/extractor/nova.py index 0007b6b12..bb8f6dbf7 100644 --- a/yt_dlp/extractor/nova.py +++ b/yt_dlp/extractor/nova.py @@ -54,7 +54,8 @@ def _real_extract(self, url): player = self._parse_json( self._search_regex( - r'Player\.init\s*\([^,]+,(?P\s*\w+\s*\?)?\s*(?P{(?(cndn).+?|.+)})\s*(?(cndn):|,\s*{.+?}\s*\)\s*;)', + (r'(?:replacePlaceholders.*?:\s*)?replacePlaceholders\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: for format_id, format_list in player['tracks'].items():