- 支持内嵌封面和LRC歌词(需要
media-user-token
,获取方式看最后的说明) - 支持获取逐词与未同步歌词
- 支持下载歌手
go run main.go https://music.apple.com/us/artist/taylor-swift/159260351
--all-album
自动选择歌手的所有专辑 - 下载解密部分更换为Sendy McSenderson的代码,实现边下载边解密,解决大文件解密时内存不足
- MV下载,需要安装mp4decrypt
对于获取aac-lc
MV
歌词
必须填入有订阅的media-user-token
alac (audio-alac-stereo)
ec3 (audio-atmos / audio-ec3)
aac (audio-stereo)
aac-lc (audio-stereo)
aac-binaural (audio-stereo-binaural)
aac-downmix (audio-stereo-downmix)
MV
Original script by Sorrow. Modified by me to include some fixes and improvements.
- Make sure the decryption program wrapper is running
- Start downloading some albums:
go run main.go https://music.apple.com/us/album/whenever-you-need-somebody-2022-remaster/1624945511
. - Start downloading single song:
go run main.go --song https://music.apple.com/us/album/never-gonna-give-you-up-2022-remaster/1624945511?i=1624945512
orgo run main.go https://music.apple.com/us/song/you-move-me-2022-remaster/1624945520
. - Start downloading select:
go run main.go --select https://music.apple.com/us/album/whenever-you-need-somebody-2022-remaster/1624945511
input numbers separated by spaces. - Start downloading some playlists:
go run main.go https://music.apple.com/us/playlist/taylor-swift-essentials/pl.3950454ced8c45a3b0cc693c2a7db97b
orgo run main.go https://music.apple.com/us/playlist/hi-res-lossless-24-bit-192khz/pl.u-MDAWvpjt38370N
. - For dolby atmos:
go run main.go --atmos https://music.apple.com/us/album/1989-taylors-version-deluxe/1713845538
. - For aac:
go run main.go --aac https://music.apple.com/us/album/1989-taylors-version-deluxe/1713845538
. - For see quality:
go run main.go --debug https://music.apple.com/us/album/1989-taylors-version-deluxe/1713845538
.
- Open Apple Music and log in
- Open the Developer tools, Click
Application -> Storage -> Cookies -> https://music.apple.com
- Find the cookie named
media-user-token
and copy its value - Paste the cookie value obtained in step 3 into the config.yaml and save it
- Start the script as usual