From ae806db6286dc76de6ee53f8f7351ed99bf29bd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Wed, 21 Dec 2016 22:39:05 +0700 Subject: [PATCH] [vbox7] Skip malformed JSON-LD (closes #11501) --- youtube_dl/extractor/vbox7.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/vbox7.py b/youtube_dl/extractor/vbox7.py index 7fb7574ad..429893e38 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,