From 2d71ed7a604eb2ef055a934d19028d27d7330d46 Mon Sep 17 00:00:00 2001 From: alikia2x Date: Wed, 19 Nov 2025 00:24:55 +0800 Subject: [PATCH] fix: incorrect published_at for new songs --- packages/crawler/mq/exec/getVideoInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/crawler/mq/exec/getVideoInfo.ts b/packages/crawler/mq/exec/getVideoInfo.ts index 73ca304..7546ec8 100644 --- a/packages/crawler/mq/exec/getVideoInfo.ts +++ b/packages/crawler/mq/exec/getVideoInfo.ts @@ -61,7 +61,7 @@ export const getVideoInfoWorker = async (job: Job): Promise .map((tag) => tag.tag_name) .join(","), title: data.View.title, - publishedAt: new Date(data.View.pubdate).toISOString(), + publishedAt: new Date(data.View.pubdate * 1000).toISOString(), duration: data.View.duration, coverUrl: data.View.pic });