refactor crawler - adapt to use new ENUM objects

This commit is contained in:
Bilal Catic
2019-09-30 10:27:12 +02:00
parent e1dfd6a4eb
commit 9c0104a57c
2 changed files with 13 additions and 18 deletions

View File

@@ -5,8 +5,6 @@
All environment specific configuration is read here and
passed to the crawlers and savers.
*/
require("dotenv").config();
const OlxCrawler = require("./specific/olx");
const { OLX_CONFIG } = require("./crawlerConfig");
const PostgresSaver = require("./savers/postgres");