From 4372982119140dba5b132e09200b94c1b422a1dd Mon Sep 17 00:00:00 2001 From: A Farzat Date: Wed, 8 Oct 2025 12:39:50 +0300 Subject: Change duration to int in VideoTuple This allows data_analyser to use extractor functions instead of yt-dlp. --- components/videos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components') 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: -- cgit v1.2.3-70-g09d2