...

/

Streamlit Videos Downloading Application

Streamlit Videos Downloading Application

Learn how to choose a stream object to download videos.

Select a stream object to download

The YouTube object has an attribute called streams. This is a StreamQuery object. It has the following methods to get a stream object:

  • filter(res , progressive, only_audio, only_video): This method returns the list of streams based on the value of the parameters passed. The res parameter is a string while the others are booleans. Setting progressive to True will only return the progressive streams. Setting only_audio to True will return the streams with only audio components and similarly setting only_video ...