Use generic AnimeFinder

This commit is contained in:
2018-04-04 15:21:52 +02:00
parent e733dd2bf5
commit 74daef0df7
6 changed files with 12 additions and 10 deletions

View File

@ -112,7 +112,7 @@ func getMatches(ctx *aero.Context) ([]*arn.KitsuMatch, string) {
// findAllMatches returns all matches for the anime inside an anilist anime list.
func findAllMatches(library chan *kitsu.LibraryEntry) []*arn.KitsuMatch {
finder := arn.NewKitsuFinder()
finder := arn.NewAnimeFinder("kitsu/anime")
matches := []*arn.KitsuMatch{}
for item := range library {