From: Sergey M․ Date: Fri, 22 Jan 2016 18:38:58 +0000 (+0600) Subject: [nuevo] Improve thumbnail extraction X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=ea178204326c0d4203cc3ff88057d2ffd25a68a1;p=youtube-dl [nuevo] Improve thumbnail extraction --- diff --git a/youtube_dl/extractor/nuevo.py b/youtube_dl/extractor/nuevo.py index 225da033c..ef093dec2 100644 --- a/youtube_dl/extractor/nuevo.py +++ b/youtube_dl/extractor/nuevo.py @@ -16,7 +16,7 @@ class NuevoBaseIE(InfoExtractor): title = xpath_text(config, './title', 'title', fatal=True).strip() video_id = xpath_text(config, './mediaid', default=video_id) - thumbnail = xpath_text(config, './image') + thumbnail = xpath_text(config, ['./image', './thumb']) duration = float_or_none(xpath_text(config, './duration')) formats = []