|
@ -958,7 +958,7 @@ class YoutubeDL(object): |
|
|
if thumbnails is None: |
|
|
if thumbnails is None: |
|
|
thumbnail = info_dict.get('thumbnail') |
|
|
thumbnail = info_dict.get('thumbnail') |
|
|
if thumbnail: |
|
|
if thumbnail: |
|
|
thumbnails = [{'url': thumbnail}] |
|
|
|
|
|
|
|
|
info_dict['thumbnails'] = thumbnails = [{'url': thumbnail}] |
|
|
if thumbnails: |
|
|
if thumbnails: |
|
|
thumbnails.sort(key=lambda t: ( |
|
|
thumbnails.sort(key=lambda t: ( |
|
|
t.get('preference'), t.get('width'), t.get('height'), |
|
|
t.get('preference'), t.get('width'), t.get('height'), |
|
|