From 9af9e9031a460fe6e26f61cbae84c23c88606bcc Mon Sep 17 00:00:00 2001 From: A Farzat Date: Tue, 19 Aug 2025 19:47:08 +0300 Subject: Create a NamedTuple for videos --- data-collection/components/videos.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 data-collection/components/videos.py (limited to 'data-collection/components') diff --git a/data-collection/components/videos.py b/data-collection/components/videos.py new file mode 100644 index 0000000..71937b2 --- /dev/null +++ b/data-collection/components/videos.py @@ -0,0 +1,11 @@ +from typing import NamedTuple +from datetime import datetime + +class VideoTuple(NamedTuple): + id: str + link: str + title: str + published: datetime + updated: datetime + thumbnail: str + summary: str -- cgit v1.2.3-70-g09d2