aboutsummaryrefslogtreecommitdiff
path: root/ui/search.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/search.go')
-rw-r--r--ui/search.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/ui/search.go b/ui/search.go
index a8e8f51..e492e05 100644
--- a/ui/search.go
+++ b/ui/search.go
@@ -23,9 +23,8 @@ import (
"fmt"
"os"
p "github.com/manifoldco/promptui"
- mal "github.com/MikunoNaka/macli/mal"
- a "github.com/MikunoNaka/MAL2Go/v4/anime"
- m "github.com/MikunoNaka/MAL2Go/v4/manga"
+ "vidhukant.com/macli/mal"
+ "vidhukant.com/mg"
)
var AnimeSearchFields []string = []string {
@@ -38,7 +37,7 @@ var AnimeSearchFields []string = []string {
}
// only search animes probably only now
-func AnimeSearch(label, searchString string) a.Anime {
+func AnimeSearch(label, searchString string) mg.Anime {
animes := mal.SearchAnime(searchString, AnimeSearchFields)
// don't show selection prompt if --auto-select is passed
if mal.AutoSel > 0 {
@@ -155,7 +154,7 @@ var MangaSearchFields []string = []string {
"media_type", "status", "authors",
}
-func MangaSearch(label, searchString string) m.Manga {
+func MangaSearch(label, searchString string) mg.Manga {
mangas := mal.SearchManga(searchString, MangaSearchFields)
// don't show selection prompt if --auto-select is passed
if mal.AutoSel > 0 {