mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 03:03:01 +00:00
[vbox7] Skip malformed JSON-LD (closes #11501)
This commit is contained in:
parent
bfa1073e11
commit
ae806db628
1 changed files with 2 additions and 1 deletions
|
@ -89,7 +89,8 @@ def _real_extract(self, url):
|
|||
|
||||
if webpage:
|
||||
info = self._search_json_ld(
|
||||
webpage.replace('"/*@context"', '"@context"'), video_id)
|
||||
webpage.replace('"/*@context"', '"@context"'), video_id,
|
||||
fatal=False)
|
||||
|
||||
info.update({
|
||||
'id': video_id,
|
||||
|
|
Loading…
Reference in a new issue