mirror of
https://github.com/zhaarey/apple-music-alac-atmos-downloader.git
synced 2026-01-15 14:22:53 -03:00
update
This commit is contained in:
@@ -9,6 +9,7 @@ English / [简体中文](./README-CN.md)
|
||||
3. Support downloading singers `go run main.go https://music.apple.com/us/artist/taylor-swift/159260351` `--all-album` Automatically select all albums of the artist
|
||||
4. The download decryption part is replaced with Sendy McSenderson to decrypt while downloading, and solve the lack of memory when decrypting large files
|
||||
5. MV Download, installation required[mp4decrypt](https://www.bento4.com/downloads/)
|
||||
6. Add interactive search with arrow-key navigation `go run main.go --search [song/album/artist] "search_term"`
|
||||
|
||||
### Special thanks to `chocomint` for creating `agent-arm64.js`
|
||||
|
||||
|
||||
8
main.go
8
main.go
@@ -63,7 +63,7 @@ func loadConfig() error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if Config.Storefront == "" {
|
||||
if len(Config.Storefront) != 2 {
|
||||
Config.Storefront = "us"
|
||||
}
|
||||
return nil
|
||||
@@ -452,8 +452,8 @@ func promptForQuality(item SearchResultItem, token string) (string, error) {
|
||||
}
|
||||
|
||||
prompt := &survey.Select{
|
||||
Message: "Select a quality to download:",
|
||||
Options: qualityOptions,
|
||||
Message: "Select a quality to download:",
|
||||
Options: qualityOptions,
|
||||
PageSize: 5,
|
||||
}
|
||||
|
||||
@@ -2308,4 +2308,4 @@ func extractVideo(c string) (string, error) {
|
||||
}
|
||||
|
||||
return streamUrl.String(), nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user