2018-03-22 19:15:21 +00:00
|
|
|
package filteranime
|
2017-10-02 13:33:39 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/aerogo/aero"
|
|
|
|
"github.com/animenotifier/arn"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Shoboi ...
|
|
|
|
func Shoboi(ctx *aero.Context) string {
|
2018-03-22 21:26:52 +00:00
|
|
|
return editorList(
|
|
|
|
ctx,
|
2018-03-22 19:15:21 +00:00
|
|
|
"Anime without Shoboi mappings",
|
2018-03-22 21:26:52 +00:00
|
|
|
func(anime *arn.Anime) bool {
|
|
|
|
return anime.GetMapping("shoboi/anime") == ""
|
|
|
|
},
|
2018-03-07 20:25:24 +00:00
|
|
|
func(anime *arn.Anime) string {
|
|
|
|
return "http://cal.syoboi.jp/find?type=quick&sd=1&kw=" + anime.Title.Japanese
|
|
|
|
},
|
2018-03-22 21:26:52 +00:00
|
|
|
)
|
2017-10-02 13:33:39 +00:00
|
|
|
}
|