Browse Source

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

Sergey M․ 8 years ago
parent
commit
ae806db628
1 changed files with 2 additions and 1 deletions
  1. 2 1
      youtube_dl/extractor/vbox7.py

+ 2 - 1
youtube_dl/extractor/vbox7.py

@@ -89,7 +89,8 @@ class Vbox7IE(InfoExtractor):
 
 
         if webpage:
         if webpage:
             info = self._search_json_ld(
             info = self._search_json_ld(
-                webpage.replace('"/*@context"', '"@context"'), video_id)
+                webpage.replace('"/*@context"', '"@context"'), video_id,
+                fatal=False)
 
 
         info.update({
         info.update({
             'id': video_id,
             'id': video_id,