Browse Source
[condenast] Make _search_json_ld call non fatal
master
Sergey M․
8 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
2 additions and
1 deletions
-
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, |
|
|
|