This script allows you to easily download YouTube videos or audio using yt-dlp
. It ensures that the necessary tools (yt-dlp
and ffmpeg
) are available, downloading and setting them up if not.
- Easy Downloads: Download YouTube videos in MP4 format or audio in MP3 format with a simple command.
- Automatic Setup: The script checks for the presence of
yt-dlp
andffmpeg
, downloading and setting them up if they're not found. - User-Friendly: Interactive command-line interface with prompts for user input.
- Run the
youtube_downloader.bat
script. - Enter the YouTube URL you wish to download.
- Choose the desired download format (Video or MP3 Audio).
- Wait for the download to complete. The downloaded file will be saved in the "Youtube" subfolder.
- Windows OS with PowerShell available for extracting zip files.
- Internet connection for downloading
yt-dlp
,ffmpeg
, and YouTube content.
- The script uses the latest version of
yt-dlp
available from its GitHub releases. ffmpeg
is downloaded from the FFmpeg-Builds releases page and is used to process multimedia content.- All downloads, including the tools and the YouTube content, are saved in a subfolder named "Youtube".
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.