projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1257b04
)
[nuevo] Improve thumbnail extraction
author
Sergey M․
<dstftw@gmail.com>
Fri, 22 Jan 2016 18:38:58 +0000
(
00:38
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 22 Jan 2016 18:38:58 +0000
(
00:38
+0600)
youtube_dl/extractor/nuevo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nuevo.py
b/youtube_dl/extractor/nuevo.py
index 225da033ccff1e12e993394925510c44c49b19cb..ef093dec2201afb7cb24384d7120f6ec00158de4 100644
(file)
--- 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 = []