aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2015-07-06 16:19:49 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2015-07-06 16:19:49 +0800
commite9d33454b552c7a5a2e048f439b90a58aa5528ad (patch)
tree93462482641862230d6f598672b92199c6aa1bba /youtube_dl
parentd80891efc47d3965695f76a24694c1f0bd748bd6 (diff)
[qqmusic:playlist] Playlist names are optional
Diffstat (limited to 'youtube_dl')
-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 f9aafcd28..d6bc05b7b 100644
--- a/youtube_dl/extractor/qqmusic.py
+++ b/youtube_dl/extractor/qqmusic.py
@@ -274,6 +274,6 @@ class QQMusicPlaylistIE(QQPlaylistBaseIE):
) for song in list_json['songlist']
]
- list_name = list_json['dissname']
+ list_name = list_json.get('dissname')
list_description = clean_html(unescapeHTML(list_json.get('desc')))
return self.playlist_result(entries, list_id, list_name, list_description)