diff --git a/app/crawler/specificCrawlers/saljic.js b/app/crawler/specificCrawlers/saljic.js index 267dcde..b3a065c 100644 --- a/app/crawler/specificCrawlers/saljic.js +++ b/app/crawler/specificCrawlers/saljic.js @@ -315,6 +315,7 @@ class SaljicCrawler { includingBills = null, animalsAllowed = null, pool = null, + exchange = null, urbanPlanPermit = null, buildingPermit = null, utilityConnection = null, @@ -323,7 +324,7 @@ class SaljicCrawler { let renewedDate = null; let realEstateType; let numberOfViewsAgency = null; - + let numberOfViewsKivi = null; //Extracting data - Glavne karakteristike let mainFieldIndex = 1; do { @@ -537,12 +538,26 @@ class SaljicCrawler { includingBills, animalsAllowed, pool, + exchange, urbanPlanPermit, buildingPermit, utilityConnection, distanceToRiver, - numberOfViewsAgency + numberOfViewsAgency, + numberOfViewsKivi }; + // + console.log("Type of price:", typeof price); + console.log("Type of area:", typeof area); + console.log("Type of gardenSize:", typeof gardenSize); + console.log("Type of streetNumber:", typeof streetNumber); + console.log("Type of adStatus:", typeof adStatus); + console.log("Type of numberOfRooms:", typeof numberOfRooms); + console.log("Type of numberOfFloors:", typeof numberOfFloors); + console.log("Type of floor:", typeof floor); + console.log("Type of numberOfViewsAgency:", typeof numberOfViewsAgency); + console.log("Type of numberOfViewsKivi:", typeof numberOfViewsKivi); + return data; } catch (e) { console.error("Exception caught: " + e.message, "\r\nURL:", url);