mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-28 01:18:30 +00:00
fix: test
This commit is contained in:
parent
cf21dc8b93
commit
7a369b1bf6
@ -798,13 +798,15 @@ class VKMusicIE(VKBaseIE):
|
||||
'info_dict': {
|
||||
'id': '-2000984503_984503',
|
||||
'title': 'Linkin Park - One More Light',
|
||||
'description': '',
|
||||
'album': 'One More Light',
|
||||
'uploader': 'Linkin Park',
|
||||
'artist': 'Linkin Park',
|
||||
'artists': ['Linkin Park'],
|
||||
'thumbnail': r're:https?://.*\.jpg',
|
||||
'genre': 'Альтернатива',
|
||||
'genres': ['Alternative'],
|
||||
'release_year': 2017,
|
||||
'modified_timestamp': int,
|
||||
'modified_date': str,
|
||||
'view_count': int,
|
||||
},
|
||||
'playlist_count': 10,
|
||||
@ -921,7 +923,7 @@ def _real_extract(self, url):
|
||||
album=title,
|
||||
uploader=artist,
|
||||
artists=[artist],
|
||||
thumbnails=[traverse_obj(meta, {'url': 'coverUrl'})],
|
||||
thumbnail=meta.get('coverUrl'), # XXX: should i also specify `thumbnails`?
|
||||
genres=[genre] if genre else [],
|
||||
release_year=int_or_none(year), # XXX: is None ok here?
|
||||
modified_timestamp=int_or_none(meta.get('lastUpdated')),
|
||||
|
Loading…
Reference in New Issue
Block a user