First update pip

Then install pytube

On mac system there is an SSL Certificate error, navigate to your Python folder and run the following command to install the Certificate
/Applications/Python\ 3.9/./Install\ Certificates.command

Finally you can use pytube to downlaod YouTube videos.
