Crawler service #17

Merged
nedimu merged 13 commits from crawler-service into master 2019-06-24 16:09:48 +02:00
Showing only changes of commit 6eba5c2a97 - Show all commits

View File

@@ -26,14 +26,14 @@ async function crawlAll() {
marketAlerts.push({
url: result.url,
realestateOrigin: "OLX",
originId: result.olxId,
originId: 1,
size: result.size,
price: result.price,
email: result.email,
// lastDate: DataTypes.STRING,
municipality: result.municipality,
region: result.region,
gardenSize: result.gardenSize,
gardenSize: isNaN(result.gardenSize) ? 0 : result.gardenSize,
realEstateType: result.realEstateType
})
}