mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[qqmusic:album] Playlist names are optional
This commit is contained in:
parent
fc7ae675e2
commit
dfc4eca21f
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ def _real_extract(self, url):
|
|||
'http://y.qq.com/#type=song&mid=' + song['songmid'], 'QQMusic', song['songmid']
|
||||
) for song in album['list']
|
||||
]
|
||||
album_name = album['name']
|
||||
album_name = album.get('name')
|
||||
album_detail = album.get('desc')
|
||||
if album_detail is not None:
|
||||
album_detail = album_detail.strip()
|
||||
|
|
Loading…
Reference in a new issue