29 lines
631 B
Go
Raw Normal View History

2017-07-01 16:33:20 +00:00
package main
func main() {
2018-04-05 20:36:59 +00:00
// color.Yellow("Iterating through AniList anime to generate new mappings")
// defer arn.Node.Close()
2017-11-01 19:11:05 +00:00
2018-04-05 20:36:59 +00:00
// err := anilist.Authorize()
// arn.PanicOnError(err)
// color.Green(anilist.AccessToken)
2017-07-01 19:29:33 +00:00
2018-04-05 20:36:59 +00:00
// allAnime := arn.AllAnime()
// count := 0
2017-07-01 19:29:33 +00:00
2018-04-05 20:36:59 +00:00
// for aniListAnime := range anilist.StreamAnime() {
// println(aniListAnime.TitleRomaji)
2017-10-02 13:12:17 +00:00
2018-04-05 20:36:59 +00:00
// anime := arn.FindAniListAnime(aniListAnime, allAnime)
2017-07-01 19:29:33 +00:00
2018-04-05 20:36:59 +00:00
// if anime != nil {
// color.Green("%s %s", anime.ID, anime)
// count++
// } else {
// color.Red("Not found")
// }
// }
2017-10-02 13:12:17 +00:00
2018-04-05 20:36:59 +00:00
// color.Green("%d anime are connected with AniList", count)
2017-07-01 16:33:20 +00:00
}