Skip to content

Commit 339e3a0

Browse files
committed
feat: add timeline download
1 parent 92dc137 commit 339e3a0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

videodb/timeline_v2.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,3 +650,8 @@ def generate_stream(self):
650650
self.stream_url = stream_data.get("stream_url")
651651
self.player_url = stream_data.get("player_url")
652652
return stream_data.get("stream_url", None)
653+
654+
def download_stream(self, stream_url: str):
655+
return self.connection.post(
656+
path="timeline_v2/download", data={"stream_url": stream_url}
657+
)

0 commit comments

Comments
 (0)