From 339e3a0b9c251b1fb081bcdce703b7826cc3f12b Mon Sep 17 00:00:00 2001 From: Ankit raj <113342181+ankit-v2-3@users.noreply.github.com> Date: Mon, 18 Aug 2025 17:43:23 +0530 Subject: [PATCH] feat: add timeline download --- videodb/timeline_v2.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/videodb/timeline_v2.py b/videodb/timeline_v2.py index efd560d..01a50f9 100644 --- a/videodb/timeline_v2.py +++ b/videodb/timeline_v2.py @@ -650,3 +650,8 @@ def generate_stream(self): self.stream_url = stream_data.get("stream_url") self.player_url = stream_data.get("player_url") return stream_data.get("stream_url", None) + + def download_stream(self, stream_url: str): + return self.connection.post( + path="timeline_v2/download", data={"stream_url": stream_url} + )