projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[vbox7] Skip malformed JSON-LD (closes #11501)
[youtube-dl]
/
youtube_dl
/
extractor
/
vbox7.py
diff --git
a/youtube_dl/extractor/vbox7.py
b/youtube_dl/extractor/vbox7.py
index 7fb7574ad6461a350ea34e60e87115fc654e2535..429893e384a70d5587bbec91224ee6f80d74cb78 100644
(file)
--- 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,