Compare commits

..

2 Commits

Author SHA1 Message Date
inputnoise
a09f8ac5c2 Use print() for cookie debug log so it shows in container logs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 21:25:39 +02:00
inputnoise
d50ccf399f Log cookie args on download start for debugging 2026-05-25 21:19:26 +02:00

View File

@@ -464,6 +464,8 @@ def start_download(
def _run_download(): def _run_download():
with _SEMAPHORE: with _SEMAPHORE:
cookie_args = _cookie_args()
print(f"[ytdlp] cookie_args={cookie_args!r} file_exists={Path(cookie_args[1]).exists() if len(cookie_args) == 2 and cookie_args[0] == '--cookies' else 'n/a'}", flush=True)
process = subprocess.Popen( process = subprocess.Popen(
[ [
"yt-dlp", url, "yt-dlp", url,