I have tried the following code to download a video in YouTube and it is working, but I want to save the video at a particular location. Now it is saving the video in
I have created a library that makes it simpler.
To install:
$ pip install mhyt # or $ sudo pip install mhyt
And use it like:
from mhmovie.youtubemhyt import yt_download yt_download("url","file.format","format"ismucic=True)