Skip to content

Instantly share code, notes, and snippets.

@Kush1101
Created October 19, 2020 16:30
Embed
What would you like to do?
# 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