diff --git a/internal/mirror/current_mirror.go b/internal/mirror/current_mirror.go index d1cd5f5..fa109b3 100644 --- a/internal/mirror/current_mirror.go +++ b/internal/mirror/current_mirror.go @@ -56,7 +56,7 @@ func (m *CurrentMirror) SearchByTitle(query string) ([]book.Book, error) { } func (m *CurrentMirror) SearchByAuthor(query string) ([]book.Book, error) { - fmt.Println("Searching for: ", console.Higlight(query)) + fmt.Println("Searching by author: ", console.Higlight(query)) var document *goquery.Document m.filter = libgen.AUTHOR diff --git a/internal/mirror/legacy_mirror.go b/internal/mirror/legacy_mirror.go index c41d45a..04a148b 100644 --- a/internal/mirror/legacy_mirror.go +++ b/internal/mirror/legacy_mirror.go @@ -56,7 +56,7 @@ func (m *LegacyMirror) SearchByTitle(query string) ([]book.Book, error) { } func (m *LegacyMirror) SearchByAuthor(query string) ([]book.Book, error) { - fmt.Println("Searching by author: %s", console.Higlight(query)) + fmt.Println("Searching by author: ", console.Higlight(query)) m.filter = libgen.AUTHOR document, err := m.searchSite(query)