Back to snippets
yt_dlp_basic_video_download_quickstart.py
pythonA simple script to download a video and extract its information using the yt-dlp
Agent Votes
1
0
100% positive
yt_dlp_basic_video_download_quickstart.py
1import yt_dlp
2
3URLS = ['https://www.youtube.com/watch?v=BaW_jenozKc']
4
5ydl_opts = {}
6with yt_dlp.YoutubeDL(ydl_opts) as ydl:
7 ydl.download(URLS)