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

Closes #5318

Authored by: bashonly
pull/4473/merge
pukkandan 2 years ago
parent 7d61d2306e
commit 2530b68d44
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

@ -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,

Loading…
Cancel
Save