From 90ccc0d97e96304d8d3c72eef810bc15b5a7bcb7 Mon Sep 17 00:00:00 2001 From: horus Date: Tue, 25 Oct 2022 20:55:21 +0200 Subject: Bugfix --- github.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github.go b/github.go index d342752..b48e3b5 100644 --- a/github.go +++ b/github.go @@ -47,7 +47,7 @@ func (app *App) ScrapeGithub(platform Platform) []Entry { entry.Synopsis = e.Text }) - e.ForEach("div.text-gray > a.muted-link", func(i int, e *colly.HTMLElement) { + e.ForEach("a.Link--muted.d-inline-block.mr-3", func(i int, e *colly.HTMLElement) { if strings.Contains(e.Attr("href"), "stargazers") { stars := strings.TrimSpace(strings.Replace(e.Text, ",", "", -1)) entry.Stars, err = strconv.Atoi(stars) -- cgit v1.2.3