YouTubeDownloader/README.md
2024-11-22 11:19:59 -05:00

1.2 KiB

YouTube Downloader

A simple, self-hosted YouTube downloader that allows you to download videos and audio from YouTube. Built with Flask and yt-dlp.

Features

  • 🎥 Download YouTube videos in best quality
  • 🎵 Extract audio as MP3 files
  • 🌐 Simple web interface
  • 🏃‍♂️ Easy to set up and run
  • 🔒 Private and self-hosted

Prerequisites

  • Python 3.6+
  • FFmpeg (required for audio downloads)

Installation

  1. Clone the repository:

git clone https://gitea.patrolbuddygo.com/wesleyneuhaus/YouTubeDownloader.git cd YouTubeDownloader

  1. Install dependencies:

pip install -r requirements.txt

  1. Install FFmpeg (required for audio downloads):
    • Download from FFmpeg's official website
    • Either place the FFmpeg executable in the project directory or add it to your system PATH

Usage

  1. Start the server:

python main.py

  1. Open your web browser and navigate to:

http://localhost:5000

  1. Enter a YouTube URL and select your preferred download format (video or audio)

  2. Click "Download" and wait for the process to complete

Updating

To update to the latest version:

git pull pip install -r requirements.txt