1
0
mirror of https://github.com/l1ving/youtube-dl synced 2020-11-18 19:53:54 -08:00

[neteasemusic] Use artist' instead of creator' for artists of track

This commit is contained in:
BlahGeek 2016-05-02 22:59:06 +08:00
parent 5f3c5a74eb
commit 1e8bb4553b

View File

@ -84,7 +84,7 @@ class NetEaseMusicIE(NetEaseMusicBaseIE):
'id': '32102397', 'id': '32102397',
'ext': 'mp3', 'ext': 'mp3',
'title': 'Bad Blood (feat. Kendrick Lamar)', 'title': 'Bad Blood (feat. Kendrick Lamar)',
'creator': 'Taylor Swift / Kendrick Lamar', 'artist': 'Taylor Swift / Kendrick Lamar',
'album': 'Bad Blood (feat. Kendrick Lamar)', 'album': 'Bad Blood (feat. Kendrick Lamar)',
'upload_date': '20150517', 'upload_date': '20150517',
'timestamp': 1431878400, 'timestamp': 1431878400,
@ -98,7 +98,7 @@ class NetEaseMusicIE(NetEaseMusicBaseIE):
'id': '29822014', 'id': '29822014',
'ext': 'mp3', 'ext': 'mp3',
'title': '听见下雨的声音', 'title': '听见下雨的声音',
'creator': '周杰伦', 'artist': '周杰伦',
'album': '哎呦,不错哦', 'album': '哎呦,不错哦',
'upload_date': '20141225', 'upload_date': '20141225',
'timestamp': 1419523200, 'timestamp': 1419523200,
@ -112,7 +112,7 @@ class NetEaseMusicIE(NetEaseMusicBaseIE):
'id': '17241424', 'id': '17241424',
'ext': 'mp3', 'ext': 'mp3',
'title': 'Opus 28', 'title': 'Opus 28',
'creator': 'Dustin O\'Halloran', 'artist': 'Dustin O\'Halloran',
'album': 'Piano Solos Vol. 2', 'album': 'Piano Solos Vol. 2',
'upload_date': '20080211', 'upload_date': '20080211',
'timestamp': 1202745600, 'timestamp': 1202745600,
@ -125,7 +125,7 @@ class NetEaseMusicIE(NetEaseMusicBaseIE):
'id': '22735043', 'id': '22735043',
'ext': 'mp3', 'ext': 'mp3',
'title': '소원을 말해봐 (Genie)', 'title': '소원을 말해봐 (Genie)',
'creator': '少女时代', 'artist': '少女时代',
'album': 'Oh!', 'album': 'Oh!',
'description': 'md5:79d99cc560e4ca97e0c4d86800ee4184', 'description': 'md5:79d99cc560e4ca97e0c4d86800ee4184',
'upload_date': '20100127', 'upload_date': '20100127',
@ -182,7 +182,7 @@ class NetEaseMusicIE(NetEaseMusicBaseIE):
'id': song_id, 'id': song_id,
'title': info['name'], 'title': info['name'],
'alt_title': alt_title, 'alt_title': alt_title,
'creator': ' / '.join([artist['name'] for artist in info.get('artists', [])]), 'artist': ' / '.join([artist['name'] for artist in info.get('artists', [])]),
'timestamp': self.convert_milliseconds(info.get('album', {}).get('publishTime')), 'timestamp': self.convert_milliseconds(info.get('album', {}).get('publishTime')),
'thumbnail': album_info.get('picUrl'), 'thumbnail': album_info.get('picUrl'),
'album': album_info.get('name'), 'album': album_info.get('name'),
@ -327,7 +327,7 @@ class NetEaseMusicMvIE(NetEaseMusicBaseIE):
'ext': 'mp4', 'ext': 'mp4',
'title': '이럴거면 그러지말지', 'title': '이럴거면 그러지말지',
'description': '白雅言自作曲唱甜蜜爱情', 'description': '白雅言自作曲唱甜蜜爱情',
'creator': '白雅言', 'artist': '白雅言',
'upload_date': '20150520', 'upload_date': '20150520',
}, },
'skip': 'Blocked outside Mainland China', 'skip': 'Blocked outside Mainland China',
@ -350,7 +350,7 @@ class NetEaseMusicMvIE(NetEaseMusicBaseIE):
'id': mv_id, 'id': mv_id,
'title': info['name'], 'title': info['name'],
'description': info.get('desc') or info.get('briefDesc'), 'description': info.get('desc') or info.get('briefDesc'),
'creator': info['artistName'], 'artist': info['artistName'],
'upload_date': info['publishTime'].replace('-', ''), 'upload_date': info['publishTime'].replace('-', ''),
'formats': formats, 'formats': formats,
'thumbnail': info.get('cover'), 'thumbnail': info.get('cover'),