From 41c926b5bb84f1e09e13d011b75c8cf5fda7fcd3 Mon Sep 17 00:00:00 2001 From: Naida Vatric Date: Wed, 4 Mar 2020 23:24:15 +0100 Subject: [PATCH] Debugging log olx - no normal price. --- app/crawler/specificCrawlers/olx.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/crawler/specificCrawlers/olx.js b/app/crawler/specificCrawlers/olx.js index 1786cb7..d36f835 100644 --- a/app/crawler/specificCrawlers/olx.js +++ b/app/crawler/specificCrawlers/olx.js @@ -289,6 +289,7 @@ class OlxCrawler { const priceValues = discountPriceValue.split("KM"); normalPrice = priceValues[0].trim(); } else { + console.log("Body:", body); throw { message: "Can't find normal price" }; } if (urgentPriceValue && urgentPriceValue.length > 0) {