File size: 151 Bytes
f4d7b84
3b1ac0c
f4d7b84
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import pytube

def download_video(url):
 yt=pytube.YouTube(url)
 video_files=yt.streams.first()
 video_path=video_files.download()
 return video_path