- Automatically package EC3 as M4A using an external MP4Box
- Change the directory structure to
Artist Name\Album Name
; Atmos download files are moved toAM-DL-Atmos downloads
, with the directory structureArtist Name\Album Name [Atmos]
- Display overall completion status after the run
- Automatically embed cover art and LRC lyrics (requires media-user-token, see the instructions at the end for how to obtain it)
- Automatic builds: You can download the latest automatic build version from the Actions page, and use
main.exe url
directly main_select
supports manually entering M3U8, using#
for input, e.g.,#1 #2
. It also supports reading M3U8 from a TXT file by entering the TXT filenamemain
supports usinggo run main.go "txt file address"
. The TXT filename needs a specific format, e.g.,cn_1707581102_THE BOOK 3.txt
. It is recommended to use this Reqable script code to auto-generatemain
supportscheck
, where you can input a text address or an API database- Added
get-m3u8-from-device
option: Set totrue
and set the port withadb forward tcp:20020 tcp:20020
to get M3U8 from an emulator - Supports folder and file templates
- Supports downloading artists:
go run main.go https://music.apple.com/us/artist/taylor-swift/159260351
alac (audio-alac-stereo)
ec3 (audio-atmos / audio-ec3)
For AAC downloads, it is recommended to use WorldObservationLog’s AppleMusicDecrypt
AppleMusicDecrypt supports the following encodings
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)
Original script by Sorrow. Modified by me to include some fixes and improvements.
- 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_select.go 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_atmos.go https://music.apple.com/us/album/1989-taylors-version-deluxe/1713845538
.
Chinese Tutorial - See Method 3
- 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