diff --git a/patches/show-season/show-season.go b/patches/show-season/show-season.go new file mode 100644 index 00000000..f0ee77b2 --- /dev/null +++ b/patches/show-season/show-season.go @@ -0,0 +1,17 @@ +package main + +import ( + "fmt" + + "github.com/animenotifier/arn" +) + +func main() { + for anime := range arn.MustStreamAnime() { + if anime.NSFW == 1 || anime.Status != "current" || anime.StartDate == "" || anime.StartDate < "2017-09" || anime.StartDate > "2017-10-17" { + continue + } + + fmt.Printf("* [%s](/anime/%s)\n", anime.Title.Canonical, anime.ID) + } +}