From 4675f35a7612a32309f024d271c6fa28ba7b9201 Mon Sep 17 00:00:00 2001 From: "Lucas R. Costa" <49102884+lucaslrc@users.noreply.github.com> Date: Sun, 21 Mar 2021 22:54:36 -0300 Subject: [PATCH] Update search.go --- search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search.go b/search.go index aaf51e1..9b7b32a 100644 --- a/search.go +++ b/search.go @@ -305,7 +305,7 @@ func Search(ctx context.Context, searchTerm string, opts ...SearchOptions) ([]Re linkHref, _ := sel.Find("a").Attr("href") linkText := strings.TrimSpace(linkHref) - titleText := strings.TrimSpace(sel.Find("div > div > a > h3 > span").Text()) + titleText := strings.TrimSpace(sel.Find("div > div > a > h3").Text()) descText := strings.TrimSpace(sel.Find("div > div > div > span > span").Text())