53 lines
966 B
Markdown
53 lines
966 B
Markdown
# YT → MP3 Downloader
|
|
|
|
Flask-App zum Herunterladen von YouTube-Videos als MP3 mit ID3-Tags.
|
|
|
|
## Voraussetzungen
|
|
|
|
- Python 3.8+
|
|
- ffmpeg (muss im PATH sein)
|
|
|
|
### ffmpeg installieren
|
|
|
|
**Ubuntu/Debian:**
|
|
```bash
|
|
sudo apt install ffmpeg
|
|
```
|
|
|
|
**macOS:**
|
|
```bash
|
|
brew install ffmpeg
|
|
```
|
|
|
|
**Windows:**
|
|
Download von https://ffmpeg.org/download.html, dann zum PATH hinzufügen.
|
|
|
|
## Setup
|
|
|
|
```bash
|
|
# Abhängigkeiten installieren
|
|
pip install -r requirements.txt
|
|
|
|
# App starten
|
|
python app.py
|
|
```
|
|
|
|
Dann im Browser öffnen: http://localhost:5000
|
|
|
|
## Funktionsweise
|
|
|
|
1. YouTube-URL eingeben
|
|
2. Interpret, Titel und Album ausfüllen
|
|
3. „Download starten" klicken
|
|
4. Die MP3 wird im Ordner `downloads/` gespeichert
|
|
|
|
## Projektstruktur
|
|
|
|
```
|
|
ytdl-app/
|
|
├── app.py # Flask-Backend
|
|
├── requirements.txt # Python-Abhängigkeiten
|
|
├── downloads/ # Gespeicherte MP3-Dateien
|
|
└── templates/
|
|
└── index.html # Web-Interface
|
|
```
|