diff options
Diffstat (limited to 'search.go')
-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) { |