feat: add YouTube cookies upload via web UI

Adds a Settings panel to upload a cookies.txt file directly from the
browser, persisted in a named Docker volume. yt-dlp uses the file
when present to bypass YouTube bot detection.
This commit is contained in:
Julien Calixte
2026-03-23 19:32:51 +01:00
parent c49ecab33f
commit 57910462e4
5 changed files with 91 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ from pydantic_settings import BaseSettings
class Settings(BaseSettings):
max_upload_size_mb: int = 500
yt_dlp_cookies_file: str = ""
@property
def max_upload_size_bytes(self) -> int: