Assign external URI for Kayak hotels.

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
Viktor Govako
2023-09-01 08:25:38 -03:00
committed by Konstantin Pastbin
parent e7c04c5459
commit 6368ba477f
16 changed files with 150 additions and 45 deletions

View File

@@ -192,7 +192,13 @@ RawGenerator::FinalProcessorPtr RawGenerator::CreateCountryFinalProcessor(
finalProcessor->SetIsolinesDir(m_genInfo.m_isolinesDir);
finalProcessor->SetAddressesDir(m_genInfo.m_addressesDir);
finalProcessor->SetHotels(m_genInfo.m_bookingDataFilename, m_genInfo.GetIntermediateFileName("hotels_status.csv"));
if (!m_genInfo.m_hotelsPath.empty())
{
finalProcessor->SetHotels(base::JoinPath(m_genInfo.m_hotelsPath, "hotels.csv"),
base::JoinPath(m_genInfo.m_hotelsPath, "placefeed.csv"),
m_genInfo.GetIntermediateFileName("hotels_status.csv"));
}
finalProcessor->SetMiniRoundabouts(m_genInfo.GetIntermediateFileName(MINI_ROUNDABOUTS_FILENAME));
finalProcessor->SetAddrInterpolation(m_genInfo.GetIntermediateFileName(ADDR_INTERPOL_FILENAME));
if (addAds)