Proxy support matters in two separate places:
- The Python app, when fetching YouTube transcripts or downloading YouTube audio with
pytubefix
- The Python app, when downloading supported social URLs with
yt-dlp
For Cobalt container proxy configuration, see the Cobalt page.
Python App (Webshare)
This repo expects Webshare credentials for the Python app.
- Add credentials to
.env:
- Enable proxy for
pytubefix and yt-dlp downloads in summarizer.yaml:
Notes:
- YouTube transcript fetching uses Webshare automatically when credentials are present.
defaults.use-proxy: true affects pytubefix and yt-dlp audio downloads.
- yt-dlp authentication is independent from Webshare proxy settings.
- Host-specific cookie files such as
INSTAGRAM_COOKIES_FILE win over YTDLP_COOKIES_FILE.
- Cookie-file authentication wins over username/password authentication.