This commit is contained in:
Jan 2024-09-15 21:01:15 +02:00
parent 0a468ac9f4
commit 65013d6f12

View File

@ -40,10 +40,10 @@ func ScrapeMensa(h io.ReadCloser) models.Mensa {
})
//Menu
var menu models.Menu
doc.Find("div.aw-meal-category").Each(func(i int, s *goquery.Selection) {
var menu models.Menu
s.Find("h3.aw-meal-category-name").Each(func(i int, t *goquery.Selection) {
menu.Name = t.Text()
})