logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: ea178204326c0d4203cc3ff88057d2ffd25a68a1
parent 1257b049bcd9857e2993a4366af41219c36baa3e
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat, 23 Jan 2016 00:38:58 +0600

[nuevo] Improve thumbnail extraction

Diffstat:

Myoutube_dl/extractor/nuevo.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 = []