remove crawler and saver logging

This commit is contained in:
Bilal Catic
2019-10-10 00:53:36 +02:00
parent 40fb1e6ad7
commit 0818fcecd2
2 changed files with 0 additions and 4 deletions

View File

@@ -10,8 +10,6 @@ class PostgresSaver {
}
async save(results) {
console.log("[POSTGRES] Saving...");
const savedRecords = await bulkUpsertRealEstates(results);
if (Array.isArray(savedRecords)) {

View File

@@ -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;
}