0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

[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

View file

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