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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user