You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zhaarey
164e36805d
|
2 months ago | |
---|---|---|
.github/workflows | 2 months ago | |
.gitignore | 3 months ago | |
README.md | 3 months ago | |
agent.js | 5 months ago | |
config.yaml | 2 months ago | |
go.mod | 2 months ago | |
go.sum | 2 months ago | |
main.go | 2 months ago |
README.md
!!必须先安装MP4Box,并确认MP4Box已正确添加到环境变量
添加功能
- 调用外部MP4Box自动封装ec3为m4a
- 更改目录结构为 歌手名\专辑名 ;Atmos下载文件则另外移动到AM-DL-Atmos downloads,并更改目录结构为 歌手名\专辑名 [Atmos]
- 运行结束后显示总体完成情况
- 自动内嵌封面和LRC歌词(需要media-user-token,获取方式看最后的说明)
- 自动构建 可以到 Actions 页面下载最新自动构建版本 可以直接
main.exe url
- main 支持check 可以填入文本地址 或API数据库.
- 新增get-m3u8-from-device 改为true 且设置端口
adb forward tcp:20020 tcp:20020
即从模拟器获取m3u8 - 文件夹和文件支持模板
- 支持下载歌手
go run main.go https://music.apple.com/us/artist/taylor-swift/159260351
--all-album
自动选择歌手的所有专辑 - 新增wrapper模式 目前只能linux运行,解密速度超快,基本秒解
limit-max
支持限制长度 默认200- 支持逐词与未同步歌词
本项目仅支持ALAC和Atmos
alac (audio-alac-stereo)
ec3 (audio-atmos / audio-ec3)
Python项目
如需下载AAC推荐使用WorldObservationLog的AppleMusicDecrypt
AppleMusicDecrypt支持以下编码
alac (audio-alac-stereo)
ec3 (audio-atmos / audio-ec3)
ac3 (audio-ac3)
aac (audio-stereo)
aac-binaural (audio-stereo-binaural)
aac-downmix (audio-stereo-downmix)
Apple Music ALAC / Dolby Atmos Downloader
Original script by Sorrow. Modified by me to include some fixes and improvements.
How to use
- Create a virtual device on Android Studio with a image that doesn't have Google APIs.
- Install this version of Apple Music: https://www.apkmirror.com/apk/apple/apple-music/apple-music-3-6-0-beta-release/apple-music-3-6-0-beta-4-android-apk-download/. You will also need SAI to install it: https://f-droid.org/pt_BR/packages/com.aefyr.sai.fdroid/.
- Launch Apple Music and sign in to your account. Subscription required.
- Port forward 10020 TCP:
adb forward tcp:10020 tcp:10020
. - Start frida server.
- Start the frida agent:
frida -U -l agent.js -f com.apple.android.music
. - Start downloading some albums:
go run main.go https://music.apple.com/us/album/whenever-you-need-somebody-2022-remaster/1624945511
. - Start downloading singles:
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
.
Downloading lyrics
- 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