Dubb_YouTube_Video / Download_Video.py
Rehman1603's picture
Update Download_Video.py
9d4d7ca verified
raw
history blame
152 Bytes
import pytube
#
def download_video(url):
yt=pytube.YouTube(url)
video_files=yt.streams.first()
video_path=video_files.download()
return video_path