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:
+7
-1
@@ -10,8 +10,14 @@ OPENROUTER_API_KEY=
|
||||
OPENROUTER_MODEL=google/gemini-2.5-flash
|
||||
|
||||
# YouTube IP-Block umgehen (optional)
|
||||
# Statischer Proxy aus dem Dashboard, z.B. http://USER:PASS@HOST:PORT
|
||||
# Option A — volle URL (http:// + Port aus Dashboard, z.B. 6641):
|
||||
# YOUTUBE_PROXY=http://USER:PASS@64.137.96.74:6641
|
||||
YOUTUBE_PROXY=
|
||||
# Option B — Felder aus dem Dashboard (einfacher, kein URL-Format):
|
||||
# YOUTUBE_PROXY_HOST=64.137.96.74
|
||||
# YOUTUBE_PROXY_PORT=6641
|
||||
# YOUTUBE_PROXY_USER=
|
||||
# YOUTUBE_PROXY_PASSWORD=
|
||||
# Alternativ Webshare *Residential* (kostenpflichtig, rotating — NICHT Free/Proxy-Server):
|
||||
# WEBSHARE_PROXY_USERNAME=
|
||||
# WEBSHARE_PROXY_PASSWORD=
|
||||
|
||||
Reference in New Issue
Block a user