diff --git a/pages/user.go b/pages/user.go index f72ee2f..59d26c8 100644 --- a/pages/user.go +++ b/pages/user.go @@ -35,6 +35,7 @@ type User struct { Contributions string Readme string MainRepos []RepoList + PinOrPopular string } type RepoList struct { Name string @@ -161,6 +162,7 @@ func HandleUser(c *fiber.Ctx) error { MainRepo.ForkOf = el.ChildText("p.text-small a.Link--muted") Scrape.MainRepos = append(Scrape.MainRepos, MainRepo) }) + Scrape.PinOrPopular = e.ChildText("h2.text-normal") }) sc.Visit("https://github.com/" + c.Params("user") + "/") // Fixing the output a bit