mirror of
https://github.com/LeRoid-hub/Mensa-API.git
synced 2025-01-31 03:34:57 +00:00
fix
This commit is contained in:
parent
0a468ac9f4
commit
65013d6f12
@ -40,10 +40,10 @@ func ScrapeMensa(h io.ReadCloser) models.Mensa {
|
|||||||
})
|
})
|
||||||
|
|
||||||
//Menu
|
//Menu
|
||||||
var menu models.Menu
|
|
||||||
|
|
||||||
doc.Find("div.aw-meal-category").Each(func(i int, s *goquery.Selection) {
|
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) {
|
s.Find("h3.aw-meal-category-name").Each(func(i int, t *goquery.Selection) {
|
||||||
menu.Name = t.Text()
|
menu.Name = t.Text()
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user