Awesome-Python-Scripts/Youtube_Video_Downloader/download_video.py

12 lines
152 B
Python
Raw Normal View History

2018-10-04 13:18:29 +00:00
from pytube import YouTube
link = input('link to youtube video: ')
2018-10-04 13:18:29 +00:00
yt = Youtube(link)
yt.streams.first().download()
print('downloaded', link)