Easily download YouTube Videos and Audios using this script.
pip install pytubefix
You need to install ffmpeg
#Linux
sudo apt install ffmpeg
For windows and MacOs download the ffmpeg from the website. If you don't know how then follow this tutorial
To use it run the script.
python3 yt.py
Copy the video url from YouTube that you want to download and then paste it. It will show a list of video and audios select video Resolution and video will be downloaded.