diff options
-rw-r--r-- | search.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,7 +42,7 @@ func Search(q SearchQuery) ([]Entry, error) { entry.Category = e.ChildAttr("a", "title") case 1: entry.URL = e.ChildAttr("a", "href") - entry.Title = e.ChildText("a") + entry.Title = e.ChildAttr("a", "title") case 2: e.ForEach("a", func(_ int, e *colly.HTMLElement) { switch(e.Index) { |