diff --git a/app/crawler/specificCrawlers/olx.js b/app/crawler/specificCrawlers/olx.js index 89ae632..f2964a3 100644 --- a/app/crawler/specificCrawlers/olx.js +++ b/app/crawler/specificCrawlers/olx.js @@ -221,9 +221,7 @@ class OlxCrawler { const body = await adPageSource.text(); const $ = cheerio.load(body); let status = AD_STATUS.STATUS_NORMAL; - // - console.log("Body:", body); - // + const propertySelectors = { username: "#lg > div.desno2.profil > div:nth-child(2) > div.vrsta1.vrsta_desno > a > div.username > span", @@ -282,6 +280,9 @@ class OlxCrawler { status = AD_STATUS.STATUS_NORMAL; } } else { + // + console.log("Body:", body); + // throw { message: "Can't find normal price" }; } if (urgentPriceValue && urgentPriceValue.length > 0) {