Skip to main content

download

Method
This is a method of the VideoAgent class in the video_agent module.
Download a video to a file.

Signature

def download(video_id: str, output: str) -> str

Parameters

video_id
str
required
The video ID to download
output
str
required
Path to save the video file

Returns

Returns
str
Path to the saved file