[extractor/iprima] Make json+ld non-fatal

Closes #5318

Authored by: bashonly
This commit is contained in:
pukkandan 2022-10-22 06:19:58 +05:30
parent 7d61d2306e
commit 2530b68d44
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class IPrimaIE(InfoExtractor):
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,