Easy Local Youtube Video Downloader is a simple C-based YouTube video downloader that leverages yt-dlp
to fetch videos locally. This project is designed to work across multiple platforms, including Linux, macOS, and Windows. The setup process includes an automated installation script for dependencies.
- Minimal and lightweight.
- Cross-platform compatibility.
- Automated dependency installation.
- Supports downloading YouTube videos via
yt-dlp
.
Ensure that you have the following installed on your system:
- GCC or Clang compiler (for building the C program)
yt-dlp
(automatically installed if missing)- Bash Shell (for running
install.sh
)
git clone https://github.com/siyam-yas/youtube-downloader.git
cd youtube-downloader
gcc -o yt_downloader downloader.c
gcc -o yt_downloader.exe downloader.c
Run the following command to execute the dependency installation script:
sudo ./install.sh
To download a YouTube video, use the following command:
./yt_downloader <YouTube Video URL>
./yt_downloader https://www.youtube.com/watch?v=8OuJUFMiMfE
yt-dlp: command not found
: Ensureyt-dlp
is installed by rerunninginstall.sh
or manually installing it.- Unsupported OS: Currently, the
install.sh
script supports Linux and macOS. For Windows, ensure you manually install the required tools.