Skip to content

yashokuu/youtube-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Easy Local Youtube Video Downloader

Overview

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.


Features

  • Minimal and lightweight.
  • Cross-platform compatibility.
  • Automated dependency installation.
  • Supports downloading YouTube videos via yt-dlp.

Prerequisites

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)

Installation

1. Clone the Repository

git clone https://github.com/siyam-yas/youtube-downloader.git
cd youtube-downloader

2. Build the Program

Linux / macOS

gcc -o yt_downloader downloader.c

Windows (Using MinGW)

gcc -o yt_downloader.exe downloader.c

3. Install Dependencies

Run the following command to execute the dependency installation script:

sudo ./install.sh

Usage

Command-Line Usage

To download a YouTube video, use the following command:

./yt_downloader <YouTube Video URL>

Example:

./yt_downloader https://www.youtube.com/watch?v=8OuJUFMiMfE

Troubleshooting

  • yt-dlp: command not found: Ensure yt-dlp is installed by rerunning install.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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published