fixing that

This commit is contained in:
localhost 2025-11-12 15:50:02 +01:00
parent b558982050
commit 1bbd702a9d
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ async function createDatabaseVideo(id: string, videoUrl: string) {
uuid: crypto.randomUUID(), uuid: crypto.randomUUID(),
id: id, id: id,
title: data.videoDetails.title, title: data.videoDetails.title,
description: (data.videoDetails.short_description).replaceAll('\n', '<br>'), description: (data.microformat.playerMicroformatRenderer.description.simpleText).replaceAll('\n', '<br>'),
thumbnail: thumbnailUrl, thumbnail: thumbnailUrl,
source: videoUrl, source: videoUrl,
published: data.microformat.playerMicroformatRenderer.publishDate.slice(0, 10), published: data.microformat.playerMicroformatRenderer.publishDate.slice(0, 10),