diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-01-23 00:38:58 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-01-23 00:38:58 +0600 |
commit | ea178204326c0d4203cc3ff88057d2ffd25a68a1 (patch) | |
tree | fdbea46e8572be53fd3821f7f50299956695f519 /youtube_dl/extractor | |
parent | 1257b049bcd9857e2993a4366af41219c36baa3e (diff) |
[nuevo] Improve thumbnail extraction
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/nuevo.py | 2 |
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 = [] |