fix: normalize YouTube proxy URL and support dashboard fields
Rewrite https proxy URLs to http, allow HOST/PORT/USER/PASSWORD env vars, and surface clearer errors when proxies fail on the wrong port. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -69,8 +69,14 @@ Traefik übernimmt TLS via `myresolver`. Persistente Daten liegen in `./data/`.
|
||||
YouTube blockiert oft Server-IPs (Hetzner, AWS, …). Optional in `.env`:
|
||||
|
||||
```bash
|
||||
# Statischer Proxy (z.B. aus Webshare „Proxy Server“ / Dashboard-Zeile)
|
||||
YOUTUBE_PROXY=http://USER:PASS@HOST:PORT
|
||||
# Volle URL — http:// und Port aus Dashboard (z.B. 6641, NICHT 443)
|
||||
YOUTUBE_PROXY=http://USER:PASS@HOST:6641
|
||||
|
||||
# Oder einzelne Felder aus dem Dashboard:
|
||||
YOUTUBE_PROXY_HOST=HOST
|
||||
YOUTUBE_PROXY_PORT=6641
|
||||
YOUTUBE_PROXY_USER=USER
|
||||
YOUTUBE_PROXY_PASSWORD=PASS
|
||||
```
|
||||
|
||||
Für yt-dlp-Fallback und VTT-Downloads wird dieselbe URL genutzt.
|
||||
|
||||
Reference in New Issue
Block a user