Proxy Setup
Proxy support matters in two separate places:
- The Python app, when fetching YouTube transcripts or downloading YouTube and social audio with
yt-dlp/pytubefix - The Cobalt container (optional fallback)
For Cobalt container proxy configuration, see the Cobalt page.
Python App
The Python app accepts vendor-neutral proxy URLs. Configuration stays in your
ignored .env file and is only used when use-proxy is enabled.
- Add one proxy URL to
.env:
Authentication is optional:
Use separate URLs when HTTP and HTTPS targets need different proxies:
Standard HTTP_PROXY, HTTPS_PROXY, and ALL_PROXY variables are also
supported. Supported URL schemes depend on the downstream client.
As an alternative, build one proxy URL from components. Username and password must either both be present or both be omitted; special characters in component credentials are percent-encoded automatically.
- Enable proxy use in
summarizer.yaml:
Direct/local destinations
Loopback and private/link-local IP addresses, single-label service names such as
ollama or cobalt, host.docker.internal, .local hosts, and Groq stay
direct. NO_PROXY / no_proxy is also honored for other destinations that must
not use the proxy:
Add dotted Docker, LAN, or corporate service names to NO_PROXY. The app does
not resolve public-looking hostnames just to determine whether their current IP
is private.
Backward compatibility
Existing Webshare settings remain supported:
This legacy path retains youtube-transcript-api’s Webshare-specific rotating
username, blocked-IP retry, and connection behavior. Prefer PROXY_URL for new
setups.
Proxy settings are resolved in this order: split PROXY_HTTP_URL /
PROXY_HTTPS_URL, PROXY_URL, component PROXY_* settings, legacy Webshare
credentials, then standard proxy environment variables.
Notes:
- Keep
.envprivate. If credentials are embedded inPROXY_URL, percent-encode reserved characters. defaults.use-proxy: trueaffects YouTube transcripts,yt-dlp/pytubefixdownloads, Google Drive and Dropbox downloads, and supported external LLM requests.- Optional
YOUTUBE_COOKIES_FILE(Netscape cookies.txt) can help if YouTube still asks you to sign in. - yt-dlp authentication is independent from HTTP proxy settings.
- Host-specific cookie files such as
INSTAGRAM_COOKIES_FILEwin overYTDLP_COOKIES_FILE. - Cookie-file authentication wins over username/password authentication.