Skip to content

Commit e5fb3ee

Browse files
authored
Merge pull request #49 from video-db/ankit/add-timeline-v2
feat: add timeline download
2 parents 1f57a6b + 339e3a0 commit e5fb3ee

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)