This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script to download any video from youtube (without advanced optional paramters) | |
import youtube_dl | |
link = 'link_to_youtube_video' | |
try: | |
with youtube_dl.YoutubeDL() as ydl: | |
ydl.download(link) | |
print('Video downloaded successfully') | |
except: | |
print('Some error occoured') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment