mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-28 23:56:49 +01:00
[qqmusic:playlist] Playlist names are optional
This commit is contained in:
parent
d80891efc4
commit
e9d33454b5
@ -274,6 +274,6 @@ def _real_extract(self, url):
|
|||||||
) 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)
|
||||||
|
Loading…
Reference in New Issue
Block a user