youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 1e7f602e2ac27bac266cde4c67b31f59510a91f5
parent 522f6c066da93b6baec3399b7098556e5ec55f43
Author: Sergey M․ <dstftw@gmail.com>
Date:   Mon,  8 Aug 2016 22:45:49 +0700

[condenast] Make _search_json_ld call non fatal

Diffstat:
Myoutube_dl/extractor/condenast.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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,