mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-18 07:01:45 +00:00
[extractor/iprima] Make json+ld non-fatal
Closes #5318 Authored by: bashonly
This commit is contained in:
parent
7d61d2306e
commit
2530b68d44
@ -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…
Reference in New Issue
Block a user