mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-27 14:15:37 +01:00
[vbox7] Skip malformed JSON-LD (closes #11501)
This commit is contained in:
parent
bfa1073e11
commit
ae806db628
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user