From 1cac547f4aa9d15a56281c4b5a9db5e8f3d97c47 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 4 Jul 2022 02:20:19 +0530 Subject: added anime info with searching --- mal/search.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'mal') diff --git a/mal/search.go b/mal/search.go index c010112..32df60f 100644 --- a/mal/search.go +++ b/mal/search.go @@ -26,7 +26,14 @@ import ( ) func SearchAnime(searchString string) []a.Anime { - fields := []string{"title", "id", "my_list_status"} + fields := []string{ + "title", "id", "num_episodes", + "synopsis", "alternative_titles", + "start_date", "end_date", "mean", + "start_season", "rank", "media_type", + "status", "average_episode_duration", + "rating", "studios", + } res, err := animeClient.SearchAnime(searchString, SearchLength, SearchOffset, SearchNSFW, fields) if err != nil { -- cgit v1.2.3