Fix Diva Bara URL

This commit is contained in:
zv0n 2022-09-13 22:34:29 +02:00
parent 12ab17e551
commit ae57b4c06e

View File

@ -109,7 +109,7 @@ int main(int /*UNUSED*/, char ** /*UNUSED*/, char **env) {
restaurants["suzies"] = std::make_unique<LunchRest::MenickaRestaurant>("https://www.menicka.cz/3830-suzies-steak-pub.html", "Suzies"); restaurants["suzies"] = std::make_unique<LunchRest::MenickaRestaurant>("https://www.menicka.cz/3830-suzies-steak-pub.html", "Suzies");
restaurants["tao"] = std::make_unique<LunchRest::TaoRestaurant>(); restaurants["tao"] = std::make_unique<LunchRest::TaoRestaurant>();
restaurants["mahostina"] = std::make_unique<LunchRest::MahostinaRestaurant>(); restaurants["mahostina"] = std::make_unique<LunchRest::MahostinaRestaurant>();
restaurants["divabara"] = std::make_unique<LunchRest::MenickaRestaurant>("https://www.menicka.cz/325-restaurace-diva-bara.html", "Divá Bára"); restaurants["divabara"] = std::make_unique<LunchRest::MenickaRestaurant>("https://www.menicka.cz/6468-diva-bara.html", "Divá Bára");
std::cout << "Initial parsing" << std::endl; std::cout << "Initial parsing" << std::endl;
for (auto &restaurant : restaurants) for (auto &restaurant : restaurants)
restaurant.second->parse(); restaurant.second->parse();