Download Youtube Videos Using Python
# Program to download youtube video
'''
First of all import pytube module
simply run "pip install pytube" in terminal
'''
from pytube import YouTube
link = input("Enter URL: ")
video = YouTube(link)
stream = video.streams.get_highest_resolution()
stream.download()
After copying this code save this file with ".py" extension and run in vs code and enter you URL and your video will be DOWNLOAD/SAVED in the same folder in which your program file exist.
No comments:
Post a Comment