Debugging log olx - no normal price.
This commit is contained in:
@@ -289,6 +289,7 @@ class OlxCrawler {
|
|||||||
const priceValues = discountPriceValue.split("KM");
|
const priceValues = discountPriceValue.split("KM");
|
||||||
normalPrice = priceValues[0].trim();
|
normalPrice = priceValues[0].trim();
|
||||||
} else {
|
} else {
|
||||||
|
console.log("Body:", body);
|
||||||
throw { message: "Can't find normal price" };
|
throw { message: "Can't find normal price" };
|
||||||
}
|
}
|
||||||
if (urgentPriceValue && urgentPriceValue.length > 0) {
|
if (urgentPriceValue && urgentPriceValue.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user