diff options
| author | A Farzat <a@farzat.xyz> | 2025-10-08 12:39:50 +0300 |
|---|---|---|
| committer | A Farzat <a@farzat.xyz> | 2025-10-08 12:40:39 +0300 |
| commit | 4372982119140dba5b132e09200b94c1b422a1dd (patch) | |
| tree | 162cb7439fce5f41c546115ea0f56ab179c29add /components | |
| parent | c641e6f1948f683bf7b1fff08bce125cb64563df (diff) | |
| download | csca5028-4372982119140dba5b132e09200b94c1b422a1dd.tar.gz csca5028-4372982119140dba5b132e09200b94c1b422a1dd.zip | |
Change duration to int in VideoTuple
This allows data_analyser to use extractor functions instead of yt-dlp.
Diffstat (limited to 'components')
| -rw-r--r-- | components/videos.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/videos.py b/components/videos.py index 31b5005..cbb7f66 100644 --- a/components/videos.py +++ b/components/videos.py @@ -12,7 +12,7 @@ class VideoTuple(NamedTuple): thumbnail: str summary: str analysed: bool = False - duration_string: str = "" + duration: int = -1 @classmethod def from_rss_entry(cls, entry: Any) -> Self: |
