mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-10 07:18:33 +00:00
fix: playlist thumbnails
This commit is contained in:
parent
27f0964061
commit
5f30070405
@ -1088,7 +1088,7 @@ def _real_extract(self, url):
|
|||||||
album=title if is_album else None,
|
album=title if is_album else None,
|
||||||
uploader=artist,
|
uploader=artist,
|
||||||
artists=[artist] if is_album else None,
|
artists=[artist] if is_album else None,
|
||||||
thumbnail=meta.get('coverUrl'), # XXX: should i also specify `thumbnails`?
|
thumbnails=traverse_obj(meta, ({'url': 'coverUrl'}, {lambda obj: [obj]})),
|
||||||
genres=[unescapeHTML(genre)] if genre else None,
|
genres=[unescapeHTML(genre)] if genre else None,
|
||||||
release_year=int_or_none(year),
|
release_year=int_or_none(year),
|
||||||
modified_timestamp=int_or_none(meta.get('lastUpdated')),
|
modified_timestamp=int_or_none(meta.get('lastUpdated')),
|
||||||
|
Loading…
Reference in New Issue
Block a user