aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/vbox7.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-12-21 22:39:05 +0700
committerSergey M․ <dstftw@gmail.com>2016-12-21 22:39:05 +0700
commitae806db6286dc76de6ee53f8f7351ed99bf29bd3 (patch)
tree2cffdc5603fc606d837b46b5fc15e374d251c0be /youtube_dl/extractor/vbox7.py
parentbfa1073e113cb7fa8a362112d4eae6dede197efa (diff)
downloadyoutube-dl-ae806db6286dc76de6ee53f8f7351ed99bf29bd3.zip
youtube-dl-ae806db6286dc76de6ee53f8f7351ed99bf29bd3.tar.gz
youtube-dl-ae806db6286dc76de6ee53f8f7351ed99bf29bd3.tar.bz2
[vbox7] Skip malformed JSON-LD (closes #11501)
Diffstat (limited to 'youtube_dl/extractor/vbox7.py')
-rw-r--r--youtube_dl/extractor/vbox7.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vbox7.py b/youtube_dl/extractor/vbox7.py
index 7fb7574..429893e 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,