A simple Python script to download YouTube videos using yt-dlp.
Requirements
-
Python 3.x
-
yt-dlp library (pip install yt-dlp)
Usage
-
Run the script: python script.py
-
Enter the YouTube video URL when prompted.
-
The video will be downloaded to the same directory as the script.
Features
-
Downloads best available video and audio quality
-
Saves file with the video title as the filename
-
Basic error handling
Notes
-
Ensure you have permission to download the content
-
Requires an active internet connection
License
MIT