feat: add optional YouTube proxy support for IP blocks

Route transcript fetching through YOUTUBE_PROXY or Webshare residential
config, with clearer errors when YouTube still blocks requests.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Frank Schwenk
2026-06-16 16:23:06 +02:00
parent 5b8042b173
commit 76de7c7a3a
6 changed files with 128 additions and 7 deletions
+7 -2
View File
@@ -9,5 +9,10 @@ JWT_EXPIRE_DAYS=90
OPENROUTER_API_KEY=
OPENROUTER_MODEL=google/gemini-2.5-flash
# Optional lokal
# APP_URL=http://localhost:8000
# YouTube IP-Block umgehen (optional)
# Statischer Proxy aus dem Dashboard, z.B. http://USER:PASS@HOST:PORT
YOUTUBE_PROXY=
# Alternativ Webshare *Residential* (kostenpflichtig, rotating — NICHT Free/Proxy-Server):
# WEBSHARE_PROXY_USERNAME=
# WEBSHARE_PROXY_PASSWORD=
# WEBSHARE_PROXY_LOCATIONS=de,es