Improved soundtrack downloader
This commit is contained in:
parent
f56e7e2133
commit
fc96fe861e
@ -18,6 +18,7 @@ func main() {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fmt.Println("--------------------------------------------------------------------------------")
|
||||||
fmt.Println(track.Title)
|
fmt.Println(track.Title)
|
||||||
|
|
||||||
err := track.Download()
|
err := track.Download()
|
||||||
@ -25,6 +26,8 @@ func main() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
color.Red(err.Error())
|
color.Red(err.Error())
|
||||||
continue
|
continue
|
||||||
|
} else {
|
||||||
|
color.Green("Downloaded %s!", track.File)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Save the file information
|
// Save the file information
|
||||||
|
Loading…
Reference in New Issue
Block a user