Improved kitsu import

This commit is contained in:
2018-03-17 01:24:06 +01:00
parent 5cc1ded99d
commit e271893938
2 changed files with 151 additions and 154 deletions

View File

@ -6,7 +6,6 @@ import (
"github.com/animenotifier/arn"
"github.com/animenotifier/kitsu"
"github.com/fatih/color"
)
// Shell parameters
@ -33,14 +32,10 @@ func InvokeShellArgs() bool {
panic(errors.New("Anime ID is not the same"))
}
anime := importKitsuAnime(kitsuAnime)
sync(kitsuAnime)
if verbose {
color.Cyan("Kitsu:")
arn.PrettyPrint(kitsuAnime)
color.Cyan("ARN:")
arn.PrettyPrint(anime)
}
return true