mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-26 09:36:46 +00:00
[nuevo] Improve thumbnail extraction
This commit is contained in:
parent
1257b049bc
commit
ea17820432
1 changed files with 1 additions and 1 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Reference in a new issue