Added patch to list season with links
This commit is contained in:
parent
555582836c
commit
56815fcb22
17
patches/show-season/show-season.go
Normal file
17
patches/show-season/show-season.go
Normal 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)
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user