0
0
Fork 0

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

main
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
1 changed files with 2 additions and 1 deletions

View File

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