[nuevo] Improve thumbnail extraction
[youtube-dl] / youtube_dl / extractor / nuevo.py
index 225da033ccff1e12e993394925510c44c49b19cb..ef093dec2201afb7cb24384d7120f6ec00158de4 100644 (file)
@@ -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 = []