From 0818fcecd28fc73c68f639980f25dcfd9cccff60 Mon Sep 17 00:00:00 2001 From: Bilal Catic Date: Thu, 10 Oct 2019 00:53:36 +0200 Subject: [PATCH] remove crawler and saver logging --- app/crawler/savers/postgres.js | 2 -- app/crawler/specific/olx.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/app/crawler/savers/postgres.js b/app/crawler/savers/postgres.js index 9ba3391..344e4ac 100644 --- a/app/crawler/savers/postgres.js +++ b/app/crawler/savers/postgres.js @@ -10,8 +10,6 @@ class PostgresSaver { } async save(results) { - console.log("[POSTGRES] Saving..."); - const savedRecords = await bulkUpsertRealEstates(results); if (Array.isArray(savedRecords)) { diff --git a/app/crawler/specific/olx.js b/app/crawler/specific/olx.js index cbeacbc..02bb330 100644 --- a/app/crawler/specific/olx.js +++ b/app/crawler/specific/olx.js @@ -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; }