From deb585e8842d4a42b2434b30427bf23d72750575 Mon Sep 17 00:00:00 2001 From: nguyentrungthat <80239428+nguentrungthat@users.noreply.github.com> Date: Wed, 10 Dec 2025 17:17:01 +0700 Subject: [PATCH] Update scrap_new_items.js --- scrap_new_items.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(