Download youtube video in mp4 or mp3 format.
pytube library is required.
pip install pytube
os library comes included with the python installation.
Download entire youtube playlist now by creating a playlist and copying the link of the youtube playlist in mp4 format.
Download entire playlist in mp3 format.