youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit f076d7972c80ad7db9909fef0f34f0c579ebee1b
parent 8b1aeadc33cdb1eef8079e67d522d8a39676bb53
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat, 12 Nov 2016 23:01:05 +0700

[extractor/common] Improve thumbnail extraction from JSON-LD

Diffstat:
Myoutube_dl/extractor/common.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py @@ -886,7 +886,7 @@ class InfoExtractor(object): 'url': e.get('contentUrl'), 'title': unescapeHTML(e.get('name')), 'description': unescapeHTML(e.get('description')), - 'thumbnail': e.get('thumbnailUrl'), + 'thumbnail': e.get('thumbnailUrl') or e.get('thumbnailURL'), 'duration': parse_duration(e.get('duration')), 'timestamp': unified_timestamp(e.get('uploadDate')), 'filesize': float_or_none(e.get('contentSize')),