From 79a27ae3680a8b7ee6a8e9b2eb9f26412b15d5d8 Mon Sep 17 00:00:00 2001 From: dylan Date: Sun, 28 Dec 2025 21:10:08 +0000 Subject: [PATCH] added logging for latest image and video in feed handler --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 3f5e762..5774ee1 100644 --- a/index.js +++ b/index.js @@ -93,6 +93,8 @@ export default async function now() { const latest = await handler(handlerParam) console.log(`${item.id}: ${latest.text}`) console.log(`${item.id} URL: ${latest.url}`) + if (latest.image) console.log(`${item.id} Image: ${latest.image}`) + if (latest.video) console.log(`${item.id} Video: ${latest.video}`) // Apply markdown escaping only for markdown links const displayText =