aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYen Chi Hsuan <[email protected]>2015-07-06 17:09:17 +0800
committerYen Chi Hsuan <[email protected]>2015-07-06 17:09:17 +0800
commitdfc4eca21f7d34b5e65f42b284b24077c8bbc109 (patch)
tree7bef4f78f91b017a566748dd532a02e31630de81
parentfc7ae675e26a98bc74918f311d22f515ec7e0477 (diff)
downloadyoutube-dl-dfc4eca21f7d34b5e65f42b284b24077c8bbc109.tar.gz
youtube-dl-dfc4eca21f7d34b5e65f42b284b24077c8bbc109.zip
[qqmusic:album] Playlist names are optional
-rw-r--r--youtube_dl/extractor/qqmusic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/qqmusic.py b/youtube_dl/extractor/qqmusic.py
index 6d85d58e3..03e6c688f 100644
--- a/youtube_dl/extractor/qqmusic.py
+++ b/youtube_dl/extractor/qqmusic.py
@@ -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()