Decomment and saljic smal fix.
This commit is contained in:
@@ -248,11 +248,12 @@ class OlxCrawler {
|
||||
)
|
||||
.text()
|
||||
.trim();
|
||||
//
|
||||
console.log("Title:", title);
|
||||
console.log("Url scraped:", url);
|
||||
console.log("Normal price value:", normalPriceValue);
|
||||
console.log("Urgent price value:", urgentPriceValue);
|
||||
|
||||
//Debug
|
||||
//console.log("Title:", title);
|
||||
//console.log("Url scraped:", url);
|
||||
// console.log("Normal price value:", normalPriceValue);
|
||||
// console.log("Urgent price value:", urgentPriceValue);
|
||||
//
|
||||
if (normalPriceValue && normalPriceValue.length > 0) {
|
||||
normalPrice = normalPriceValue
|
||||
@@ -668,7 +669,7 @@ class OlxCrawler {
|
||||
numberOfViewsAgency
|
||||
};
|
||||
//
|
||||
console.log("Scraped data:", data);
|
||||
//console.log("Scraped data:", data);
|
||||
|
||||
return data;
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user