1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 10:11:52 +00:00

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

This commit is contained in:
Sergey M․ 2016-12-21 22:39:05 +07:00
parent bfa1073e11
commit ae806db628
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -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,