This is a simple python script for downloading youtube streams; both audio and video. The script enables the user to choose what quality of audio or video they wish to download.
Reference to this script is from pytube documentation , an API for this task.
Before running the script,ensure the following 2 python librabries are installed:
- pytube
- ffmpeg-python
You can install them using the following commands:
- pip(/pip3) install pytube
- pip(/pip3) install ffmpeg-python