diff options
| author | A Farzat <a@farzat.xyz> | 2025-08-19 19:47:08 +0300 |
|---|---|---|
| committer | A Farzat <a@farzat.xyz> | 2025-08-19 19:47:08 +0300 |
| commit | 9af9e9031a460fe6e26f61cbae84c23c88606bcc (patch) | |
| tree | bd90bd179b90a87515538a7abfed6b7ef849ab8c /data-collection/components | |
| parent | 9de258844b128c38ce523aa4e3483adf33dc7bb2 (diff) | |
| download | csca5028-9af9e9031a460fe6e26f61cbae84c23c88606bcc.tar.gz csca5028-9af9e9031a460fe6e26f61cbae84c23c88606bcc.zip | |
Create a NamedTuple for videos
Diffstat (limited to 'data-collection/components')
| -rw-r--r-- | data-collection/components/videos.py | 11 |
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 |
