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