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

Parameters

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

Returns

str
Path to the saved file

Uses

  • content
  • f.write

Source

View on GitHub

praisonaiagents/agent/video_agent.py at line 670