remove crawler and saver logging
This commit is contained in:
@@ -10,8 +10,6 @@ class PostgresSaver {
|
||||
}
|
||||
|
||||
async save(results) {
|
||||
console.log("[POSTGRES] Saving...");
|
||||
|
||||
const savedRecords = await bulkUpsertRealEstates(results);
|
||||
|
||||
if (Array.isArray(savedRecords)) {
|
||||
|
||||
@@ -55,7 +55,6 @@ class OlxCrawler {
|
||||
}
|
||||
|
||||
async crawl() {
|
||||
console.log("[OLX] Crawler started");
|
||||
const crawlAdCategories = this.crawlerAdCategories;
|
||||
|
||||
const newRealEstates = [];
|
||||
@@ -123,7 +122,6 @@ class OlxCrawler {
|
||||
await this.sleep(this.delayBetweenPages);
|
||||
}
|
||||
}
|
||||
console.log("[OLX] Crawler finished");
|
||||
return newRealEstates;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user