Skip to content

A feature-rich command-line audio/video downloader

[vbox7] Skip malformed JSON-LD (closes #11501)

Sergey M․ae806db6286d
diff --git a/youtube_dl/extractor/vbox7.py b/youtube_dl/extractor/vbox7.py
index 7fb7574ad6..429893e384 100644
--- a/youtube_dl/extractor/vbox7.py
+++ b/youtube_dl/extractor/vbox7.py
@@ -89,7 +89,8 @@ class Vbox7IE(InfoExtractor):
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,