# 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 2. Install dependencies: pip install -r requirements.txt 3. Install FFmpeg (required for audio downloads): - Download from [FFmpeg's official website](https://ffmpeg.org/download.html) - Either place the FFmpeg executable in the project directory or add it to your system PATH ## Usage 1. Start the server: python main.py 2. Open your web browser and navigate to: http://localhost:5000 3. Enter a YouTube URL and select your preferred download format (video or audio) 4. Click "Download" and wait for the process to complete ## Updating To update to the latest version: git pull pip install -r requirements.txt