From 2530b68d4476fe6cb4b25897b906cbb1774ca7c9 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sat, 22 Oct 2022 06:19:58 +0530 Subject: [PATCH] [extractor/iprima] Make json+ld non-fatal Closes #5318 Authored by: bashonly --- yt_dlp/extractor/iprima.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/iprima.py b/yt_dlp/extractor/iprima.py index 5e0b523dc..c98fe5b42 100644 --- a/yt_dlp/extractor/iprima.py +++ b/yt_dlp/extractor/iprima.py @@ -150,7 +150,7 @@ def _real_extract(self, url): manifest_url, video_id, mpd_id='dash', fatal=False) self._sort_formats(formats) - final_result = self._search_json_ld(webpage, video_id) or {} + final_result = self._search_json_ld(webpage, video_id, default={}) final_result.update({ 'id': video_id, 'title': title,