1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[qqmusic:playlist] Playlist names are optional

This commit is contained in:
Yen Chi Hsuan 2015-07-06 16:19:49 +08:00
parent d80891efc4
commit e9d33454b5

View file

@ -274,6 +274,6 @@ class QQMusicPlaylistIE(QQPlaylistBaseIE):
) for song in list_json['songlist'] ) 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'))) list_description = clean_html(unescapeHTML(list_json.get('desc')))
return self.playlist_result(entries, list_id, list_name, list_description) return self.playlist_result(entries, list_id, list_name, list_description)