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:
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