diff --git a/scrap_new_items.js b/scrap_new_items.js index fc6f388..dc4a23f 100644 --- a/scrap_new_items.js +++ b/scrap_new_items.js @@ -391,7 +391,7 @@ async function main() { } // console.log(`Total configs to process: ${configs.length}`); for (const store of configs) { - console.log(`Processing ${store.data}`); + // console.log(`Processing ${store.data}`); // let items = await scrapeWithCheerio(store); let items = await scrapeWithPuppeteer(store); for (const item of items) { @@ -401,6 +401,7 @@ async function main() { // 3️⃣ Insert new record const title = (item.title || "").replace("Opens in a new window or tab", "").trim(); + console.log(`Processing ${store.data}`); console.log({ ...item, title }); await axios .post(