From: Sergey M․ Date: Mon, 8 Aug 2016 15:45:49 +0000 (+0700) Subject: [condenast] Make _search_json_ld call non fatal X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=1e7f602e2ac27bac266cde4c67b31f59510a91f5;p=youtube-dl [condenast] Make _search_json_ld call non fatal --- diff --git a/youtube_dl/extractor/condenast.py b/youtube_dl/extractor/condenast.py index 15fabbb1c..8d8f60598 100644 --- 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,