diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2015-07-06 16:19:49 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2015-07-06 16:19:49 +0800 |
commit | e9d33454b552c7a5a2e048f439b90a58aa5528ad (patch) | |
tree | 93462482641862230d6f598672b92199c6aa1bba | |
parent | d80891efc47d3965695f76a24694c1f0bd748bd6 (diff) |
[qqmusic:playlist] Playlist names are optional
-rw-r--r-- | youtube_dl/extractor/qqmusic.py | 2 |
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) |