Hi,
I was using scrape to get the menu for the school meal each week.
There were 2 different meals each day, no problem to scrape this with Index for each meal each day.
Ex.
Monday
Index 0 and Index 1
Tuesday
Index 2 and Index 3 and so forth for the whole week, and the same for the week after.
This year the school got a new supplier for meals.
And now it got a little too tricky for me
During the week they have 12 meals, someday 2 someday 3, but there is no pattern in what day they have 2 or 3 meals to choose.
Monday always before hade Index 0 and 1 for the different meals, but could now also have Index 2, this means that Tuesday that before always had Index 2 and 3 now could have Index 2 and 3 or 2, 3 and 4 or 3 and 4 and so on, I think you get it
This means that my old code no longer work and I don’t know how to solve this.
I can read the day with Index no problem.
Is there any way to dynamic lookup how many Index there is for a day and sort them “below” the day of the week or something like that?
Maybe scrape no longer is the method for this?
Appreciate all help and points in the right direction.
Kind Regards
/Christian