diff --git a/restaurants/suzzies.cpp b/restaurants/suzzies.cpp index ae53fb7..04f85b7 100644 --- a/restaurants/suzzies.cpp +++ b/restaurants/suzzies.cpp @@ -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':