DEV Community

happy_heart_hacker
happy_heart_hacker

Posted on

YOUTUBE VIDEO DOWNLOADER USING PYTHON

Here is the code to make your own YouTube video downloader.
We will use Pytube library for this purpose. Thats why Python is so popular just because of their libraries.



# pip install pytube

import pytube
link = input('URL please')
yt = pytube.Youtube(link)
yt.streams.first().download()
print('Downloading', link) 
Enter fullscreen mode Exit fullscreen mode

Top comments (0)