mirror of
https://github.com/zhaarey/apple-music-downloader.git
synced 2025-10-23 15:11:05 +00: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
|
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
|
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/)
|
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`
|
### 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 {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if Config.Storefront == "" {
|
if len(Config.Storefront) != 2 {
|
||||||
Config.Storefront = "us"
|
Config.Storefront = "us"
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
@@ -452,8 +452,8 @@ func promptForQuality(item SearchResultItem, token string) (string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
prompt := &survey.Select{
|
prompt := &survey.Select{
|
||||||
Message: "Select a quality to download:",
|
Message: "Select a quality to download:",
|
||||||
Options: qualityOptions,
|
Options: qualityOptions,
|
||||||
PageSize: 5,
|
PageSize: 5,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2308,4 +2308,4 @@ func extractVideo(c string) (string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return streamUrl.String(), nil
|
return streamUrl.String(), nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user