From: Yen Chi Hsuan Date: Mon, 6 Jul 2015 08:19:49 +0000 (+0800) Subject: [qqmusic:playlist] Playlist names are optional X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=e9d33454b552c7a5a2e048f439b90a58aa5528ad;p=youtube-dl.git [qqmusic:playlist] Playlist names are optional --- 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)