aboutsummaryrefslogtreecommitdiff
path: root/data-collection/components/videos.py
diff options
context:
space:
mode:
Diffstat (limited to 'data-collection/components/videos.py')
-rw-r--r--data-collection/components/videos.py11
1 files changed, 11 insertions, 0 deletions
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