mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-11-30 15:31:07 +00:00
add Youtube_Video_Downloader
This commit is contained in:
parent
f2a4a5be6b
commit
e9efb2d46c
3
Youtube_Video_Downloader/README.md
Normal file
3
Youtube_Video_Downloader/README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Youtube Video Downloader Script
|
||||||
|
|
||||||
|
Requires pytube
|
11
Youtube_Video_Downloader/download_video.py
Normal file
11
Youtube_Video_Downloader/download_video.py
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
from pytube import YouTube
|
||||||
|
link = input('link to youtube video: ')
|
||||||
|
yt = Youtube(link)
|
||||||
|
yt.streams.first().download()
|
||||||
|
print('downloaded', link)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user