zhaarey f71feebc18
Merge pull request #17 from itouakirai/main
add m3u8txt file support
2024-05-02 14:58:19 +08:00
2024-04-25 23:20:42 +08:00
2024-04-04 10:17:03 +08:00
2024-03-05 11:36:13 -03:00
2024-04-28 10:19:37 +08:00
2024-04-28 09:33:00 +08:00
2024-04-24 01:02:04 +08:00
2024-04-28 12:47:54 +08:00
2024-04-30 21:05:21 +08:00
2024-05-01 19:03:30 +08:00
2024-05-01 19:23:55 +08:00

!!必须先安装MP4Box,并确认MP4Box已正确添加到环境变量

添加功能

  1. 调用外部MP4Box自动封装ec3为m4a
  2. 更改目录结构为 歌手名\专辑名 ;Atmos下载文件则另外移动到AM-DL-Atmos downloads并更改目录结构为 歌手名\专辑名 [Atmos]
  3. 运行结束后显示总体完成情况
  4. 自动内嵌封面和LRC歌词需要media-user-token获取方式看最后的说明
  5. 自动构建 可以到 Actions 页面下载最新自动构建版本 可以直接main.exe url
  6. main_select 支持手动填写m3u8输入#号,比如#1 #2支持txt读取m3u8输入txt文件名
  7. main 支持使用 go run main.go "txt文件地址" txt文件名需要指定格式 例如 cn_1707581102_THE BOOK 3.txt 建议使用这个Reqable 脚本代码 自动生成

Apple Music ALAC / Dolby Atmos Downloader

Original script by Sorrow. Modified by me to include some fixes and improvements.

How to use

  1. Create a virtual device on Android Studio with a image that doesn't have Google APIs.
  2. 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/.
  3. Launch Apple Music and sign in to your account. Subscription required.
  4. Port forward 10020 TCP: adb forward tcp:10020 tcp:10020.
  5. Start frida server.
  6. Start the frida agent: frida -U -l agent.js -f com.apple.android.music.
  7. Start downloading some albums: go run main.go https://music.apple.com/us/album/whenever-you-need-somebody-2022-remaster/1624945511.
  8. 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.
  9. Start downloading some playlists: go run main.go https://music.apple.com/us/playlist/taylor-swift-essentials/pl.3950454ced8c45a3b0cc693c2a7db97b or go run main.go https://music.apple.com/us/playlist/hi-res-lossless-24-bit-192khz/pl.u-MDAWvpjt38370N.
  10. For dolby atmos: go run main_atmos.go https://music.apple.com/us/album/1989-taylors-version-deluxe/1713845538.

中文教程-详见方法三

Downloading lyrics

  1. Open Apple Music and log in
  2. Open the Developer tools, Click Application -> Storage -> Cookies -> https://music.apple.com
  3. Find the cookie named media-user-token and copy its value
  4. Paste the cookie value obtained in step 3 into the config.yaml and save it
  5. Start the script as usual
Description
Apple Music ALAC / Dolby Atmos / AAC / MV Downloader
Readme 581 KiB
Languages
Go 84.5%
JavaScript 15.5%