diff options
Diffstat (limited to 'github.go')
| -rw-r--r-- | github.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ func (app *App) ScrapeGithub(platform Platform) []Entry { owner := Owner{} e.ForEach("div > h3", func(i int, e *colly.HTMLElement) { - entry.URL = URL + e.ChildAttr("a", "href") + entry.URL = e.ChildAttr("a", "href") owner.Name = strings.TrimSuffix(e.ChildText("a > span"), " /") owner.Name = strings.TrimSpace(owner.Name) entry.Title = strings.TrimPrefix(e.ChildText("a"), owner.Name+" /") |
