This program helps to download video from YouTube and is an Open Source code.
The steps are:-
1) Download the files in this repository using git clone command or by downloading zip file of it.
2) Run the code on the python editor and replace 'path' variable in the 5th line with your own desired path.
3) Then execute the program and proceed as instructed.
Issues:-
1) It doesn't support downloading videos beyond 720p.
2) It doesn't support downloading videos with subtitles.