mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 02:21:29 +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 @@ def _real_extract(self, url):
|
||||||
manifest_url, video_id, mpd_id='dash', fatal=False)
|
manifest_url, video_id, mpd_id='dash', fatal=False)
|
||||||
self._sort_formats(formats)
|
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({
|
final_result.update({
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
'title': title,
|
'title': title,
|
||||||
|
|
Loading…
Reference in a new issue