diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-12-21 22:39:05 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-12-21 22:39:05 +0700 |
commit | ae806db6286dc76de6ee53f8f7351ed99bf29bd3 (patch) | |
tree | 2cffdc5603fc606d837b46b5fc15e374d251c0be | |
parent | bfa1073e113cb7fa8a362112d4eae6dede197efa (diff) |
[vbox7] Skip malformed JSON-LD (closes #11501)
-rw-r--r-- | youtube_dl/extractor/vbox7.py | 3 |
1 files changed, 2 insertions, 1 deletions
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, |