diff --git a/app/crawler/specificCrawlers/olx.js b/app/crawler/specificCrawlers/olx.js index 84a6d09..87f0957 100644 --- a/app/crawler/specificCrawlers/olx.js +++ b/app/crawler/specificCrawlers/olx.js @@ -214,6 +214,7 @@ class OlxCrawler { try { const res = await fetch(url); + logDebug("Got category results for: ", url); const body = await res.text(); const $ = cheerio.load(body); let hrefs = []; diff --git a/package.json b/package.json index eb716a4..d591eb5 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "start": "node ./index.js", + "start": "node --inspect ./index.js", "start-mon": "nodemon ./index.js", "migrate": "cd app && npx sequelize db:migrate", "seed": "cd app && npx sequelize db:seed:all",