summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-01-23 00:38:58 +0600
committerSergey M․ <dstftw@gmail.com>2016-01-23 00:38:58 +0600
commitea178204326c0d4203cc3ff88057d2ffd25a68a1 (patch)
treefdbea46e8572be53fd3821f7f50299956695f519
parent1257b049bcd9857e2993a4366af41219c36baa3e (diff)
downloadyoutube-dl-ea178204326c0d4203cc3ff88057d2ffd25a68a1.tar.gz
youtube-dl-ea178204326c0d4203cc3ff88057d2ffd25a68a1.tar.xz
youtube-dl-ea178204326c0d4203cc3ff88057d2ffd25a68a1.zip
[nuevo] Improve thumbnail extraction
-rw-r--r--youtube_dl/extractor/nuevo.py2
1 files changed, 1 insertions, 1 deletions
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 = []