このコミットが含まれているのは:
2024-10-08 12:48:36 +09:00
コミット bf09176bfe
+3 -1
ファイルの表示
@@ -34,7 +34,7 @@ class VideoResult (TypedDict):
contentId: str contentId: str
title: str title: str
tags: str tags: str
description: str description: str | None
viewCounter: int viewCounter: int
startTime: str startTime: str
@@ -96,6 +96,8 @@ def update_tables (
title = datum['title'], title = datum['title'],
description = datum['description'], description = datum['description'],
uploaded_at = datetime.fromisoformat (datum['startTime'])) uploaded_at = datetime.fromisoformat (datum['startTime']))
if video.description is None:
video.description = ''
video_dao.upsert (video, False) video_dao.upsert (video, False)
if video.id_ is not None: if video.id_ is not None:
video_ids.append (video.id_) video_ids.append (video.id_)