Finish fixing Suzzie's

This commit is contained in:
zvon 2021-02-11 19:21:55 +01:00
parent 89be08e9a6
commit a2b0d13f55

View File

@ -18,7 +18,7 @@ void LunchRest::SuzziesRestaurant::parse() {
auto &root = hparse.getRoot();
auto days = root.find("//div[@class='day']");
for(auto &day : days) {
auto *daynum = xmlGetProp(days[0]->cobj(), (xmlChar*)"data-day");
auto *daynum = xmlGetProp(day->cobj(), (xmlChar*)"data-day");
int cur_day = 0;
switch(daynum[0]) {
case '2':