projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
522f6c0
)
[condenast] Make _search_json_ld call non fatal
author
Sergey M․
<dstftw@gmail.com>
Mon, 8 Aug 2016 15:45:49 +0000
(22:45 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 8 Aug 2016 15:45:49 +0000
(22:45 +0700)
youtube_dl/extractor/condenast.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/condenast.py
b/youtube_dl/extractor/condenast.py
index 15fabbb1c4edcdcb9451e2630dd1bc4b54fea2b1..8d8f605980bdf531c49a0c5d5067223d1f41dc4d 100644
(file)
--- a/
youtube_dl/extractor/condenast.py
+++ b/
youtube_dl/extractor/condenast.py
@@
-143,7
+143,8
@@
class CondeNastIE(InfoExtractor):
})
self._sort_formats(formats)
- info = self._search_json_ld(webpage, video_id) if url_type != 'embed' else {}
+ info = self._search_json_ld(
+ webpage, video_id, fatal=False) if url_type != 'embed' else {}
info.update({
'id': video_id,
'formats': formats,