From c0abd0787eef1064772a98138089197cf1922963 Mon Sep 17 00:00:00 2001 From: horus Date: Fri, 29 Dec 2023 22:36:38 +0100 Subject: bugfix --- github.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'github.go') diff --git a/github.go b/github.go index fe6e857..7f1b9bc 100644 --- a/github.go +++ b/github.go @@ -35,7 +35,7 @@ func (app *App) ScrapeGithub(platform Platform) []Entry { entry := Entry{} owner := Owner{} - e.ForEach("h1", func(i int, e *colly.HTMLElement) { + e.ForEach("h2", func(i int, e *colly.HTMLElement) { entry.URL = e.ChildAttr("a", "href") owner.Name = strings.TrimSuffix(e.ChildText("a > span"), " /") owner.Name = strings.TrimSpace(owner.Name) -- cgit v1.2.3