2018-04-04 15:31:40 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
func main() {
|
2018-04-08 10:59:36 +00:00
|
|
|
// color.Yellow("Moving Kitsu IDs to new IDs")
|
2018-04-04 15:31:40 +00:00
|
|
|
|
2018-04-08 10:59:36 +00:00
|
|
|
// defer color.Green("Finished.")
|
|
|
|
// defer arn.Node.Close()
|
2018-04-04 15:31:40 +00:00
|
|
|
|
2018-04-08 10:59:36 +00:00
|
|
|
// for anime := range arn.StreamAnime() {
|
|
|
|
// kitsuID := anime.GetMapping("kitsu/anime")
|
2018-04-04 15:31:40 +00:00
|
|
|
|
2018-04-08 10:59:36 +00:00
|
|
|
// if kitsuID == "" {
|
|
|
|
// continue
|
|
|
|
// }
|
2018-04-04 15:31:40 +00:00
|
|
|
|
2018-04-08 10:59:36 +00:00
|
|
|
// anime.MoveImageFiles(kitsuID, anime.ID)
|
|
|
|
// }
|
2018-04-04 15:31:40 +00:00
|
|
|
}
|