From 92c61417e8f2fb5ccf05b71f3669a68d20d063d4 Mon Sep 17 00:00:00 2001 From: Angelo Chantziantoniou Date: Mon, 9 Mar 2026 22:14:06 +0200 Subject: [PATCH] Updated indexer for book url --- cmd/crawler/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/crawler/worker.go b/cmd/crawler/worker.go index 51dee8e..ef99ea9 100644 --- a/cmd/crawler/worker.go +++ b/cmd/crawler/worker.go @@ -80,7 +80,7 @@ func fetchBooks(nextURL string) ([]Book, string, error) { func checkBookForKeywords(book Book, keywords []string) map[string]int { log.Println("Checking book", book.Title) - textUrl, ok := book.Formats["text/plain"] + textUrl, ok := book.Formats["text/plain; charset=utf-8"] if !ok { return nil }