diff options
| author | horus | 2023-12-29 22:36:38 +0100 |
|---|---|---|
| committer | horus | 2023-12-29 22:36:38 +0100 |
| commit | c0abd0787eef1064772a98138089197cf1922963 (patch) | |
| tree | 5f608919df9befc259b0a74402bcc824821cf92e | |
| parent | 2ca33ee90a73e4f0be9bdf31124a741114522183 (diff) | |
| download | ghrss-c0abd0787eef1064772a98138089197cf1922963.tar.gz | |
| -rw-r--r-- | github.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
