Update search.go
This commit is contained in:
parent
14d80b5b0d
commit
4675f35a76
@ -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())
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user