Browse Source

[qqmusic:album] Playlist names are optional

master
Yen Chi Hsuan 9 years ago
parent
commit
dfc4eca21f
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/qqmusic.py

2
youtube_dl/extractor/qqmusic.py

@ -194,7 +194,7 @@ class QQMusicAlbumIE(QQPlaylistBaseIE):
'http://y.qq.com/#type=song&mid=' + song['songmid'], 'QQMusic', song['songmid'] 'http://y.qq.com/#type=song&mid=' + song['songmid'], 'QQMusic', song['songmid']
) for song in album['list'] ) for song in album['list']
] ]
album_name = album['name']
album_name = album.get('name')
album_detail = album.get('desc') album_detail = album.get('desc')
if album_detail is not None: if album_detail is not None:
album_detail = album_detail.strip() album_detail = album_detail.strip()

Loading…
Cancel
Save