From 03536126d32bd861e38536371f0cd5f1b71dcb7a Mon Sep 17 00:00:00 2001 From: sepro <4618135+seproDev@users.noreply.github.com> Date: Tue, 13 Feb 2024 04:11:40 +0100 Subject: [PATCH] [ie/CrooksAndLiars] Fix extractor (#9192) Authored by: seproDev --- yt_dlp/extractor/crooksandliars.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/yt_dlp/extractor/crooksandliars.py b/yt_dlp/extractor/crooksandliars.py index 4de7e3d53..2ee0730c9 100644 --- a/yt_dlp/extractor/crooksandliars.py +++ b/yt_dlp/extractor/crooksandliars.py @@ -33,10 +33,7 @@ def _real_extract(self, url): webpage = self._download_webpage( 'http://embed.crooksandliars.com/embed/%s' % video_id, video_id) - manifest = self._parse_json( - self._search_regex( - r'var\s+manifest\s*=\s*({.+?})\n', webpage, 'manifest JSON'), - video_id) + manifest = self._search_json(r'var\s+manifest\s*=', webpage, 'manifest JSON', video_id) quality = qualities(('webm_low', 'mp4_low', 'webm_high', 'mp4_high'))