projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfa1073
)
[vbox7] Skip malformed JSON-LD (closes #11501)
author
Sergey M․
<dstftw@gmail.com>
Wed, 21 Dec 2016 15:39:05 +0000
(22:39 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 21 Dec 2016 15:39:05 +0000
(22:39 +0700)
youtube_dl/extractor/vbox7.py
patch
|
blob
|
history
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,