Refresh episodes

This commit is contained in:
2017-07-02 14:03:56 +02:00
parent f9bbf7e6db
commit f82e1ea961
2 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,20 @@
package main
import (
"github.com/animenotifier/arn"
"github.com/fatih/color"
)
func main() {
color.Yellow("Refreshing episode information for each anime.")
for anime := range arn.MustStreamAnime() {
err := anime.RefreshEpisodes()
if err != nil {
color.Red(err.Error())
}
}
color.Green("Finished.")
}