diff --git a/make_site.go b/make_site.go index 408a5d7a..e5b4c746 100644 --- a/make_site.go +++ b/make_site.go @@ -41,7 +41,7 @@ func main() { } objs := make(map[string]*Object) - query.Find("body #content ul ul").First().Each(func(_ int, s *goquery.Selection) { + query.Find("body #contents").NextFiltered("ul").Find("ul").Each(func(_ int, s *goquery.Selection) { s.Find("li a").Each(func(_ int, s *goquery.Selection) { selector, exists := s.Attr("href") if !exists {