Skip to content

SergioMelladoMartin/YoutubeDownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Downloader

This is a command-line tool for downloading audio or video files from YouTube.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Make sure you have Go installed on your machine. You can download the latest version of Go from the official website.

You will also need to install the yt-dlp command-line utility. You can find instructions for installing yt-dlp here.

Installing

Clone the repository to your local machine:

git clone https://github.com/SergioMelladoMartin/youtube-downloader.git

Change into the project directory:

cd youtube-downloader

Usage

To download an audio file from YouTube, run the following command:

go run main.go <URL> --audio

To download a video file from YouTube, run the following command:

go run main.go <URL> --video

The downloaded file will be saved to the C:\Users\%USERNAME%\Downloads directory with the title of the YouTube video as the file name.

Built With

  • Go - The programming language used
  • yt-dlp - The command-line utility for downloading YouTube videos

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages