mirror of
https://github.com/zhaarey/apple-music-downloader.git
synced 2025-10-23 15:11:05 +00:00
print select album
This commit is contained in:
2
main.go
2
main.go
@@ -1104,6 +1104,7 @@ func checkArtist(artistUrl string, token string) ([]string, error) {
|
||||
continue
|
||||
}
|
||||
if num > 0 && num <= len(options) {
|
||||
fmt.Println(options[num-1])
|
||||
args = append(args, urls[num-1])
|
||||
} else {
|
||||
fmt.Println("Option out of range:", opt[0])
|
||||
@@ -1120,6 +1121,7 @@ func checkArtist(artistUrl string, token string) ([]string, error) {
|
||||
continue
|
||||
}
|
||||
for i := start; i <= end; i++ {
|
||||
fmt.Println(options[i-1])
|
||||
args = append(args, urls[i-1])
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user