From e62a4e0fcf83b5f39308432669fdc6c0e74ed783 Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 8 Jun 2025 10:04:45 +0700 Subject: [PATCH] fix none existing timestamp key in info json --- backend/video/src/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/video/src/index.py b/backend/video/src/index.py index 01b8435b..6f324eb3 100644 --- a/backend/video/src/index.py +++ b/backend/video/src/index.py @@ -195,7 +195,7 @@ class YoutubeVideo(YouTubeItem, YoutubeSubtitle): def _build_published(self): """build published date or timestamp""" - timestamp = self.youtube_meta["timestamp"] + timestamp = self.youtube_meta.get("timestamp") if timestamp: return timestamp