added logging for latest image and video in feed handler
This commit is contained in:
parent
37c167fc38
commit
79a27ae368
1 changed files with 2 additions and 0 deletions
2
index.js
2
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 =
|
||||
|
|
|
|||
Loading…
Reference in a new issue