1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-26 17:46:45 +00:00

[qqmusic:album] Playlist names are optional

This commit is contained in:
Yen Chi Hsuan 2015-07-06 17:09:17 +08:00
parent fc7ae675e2
commit dfc4eca21f

View file

@ -194,7 +194,7 @@ class QQMusicAlbumIE(QQPlaylistBaseIE):
'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()