Added patch to list season with links

This commit is contained in:
Eduard Urbach 2017-10-17 01:54:54 +02:00
parent 555582836c
commit 56815fcb22

View File

@ -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)
}
}