From 3b36928bdce143e5ab0462898c83f4fb07e2523a Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 23 Jan 2024 14:19:59 -0800 Subject: [PATCH] add yt-dlp restrict-filenames option to make filenames shorter --- archivebox/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archivebox/config.py b/archivebox/config.py index d947c0f1..c7e05922 100644 --- a/archivebox/config.py +++ b/archivebox/config.py @@ -152,6 +152,8 @@ CONFIG_SCHEMA: Dict[str, ConfigDefaultDict] = { 'CHROME_HEADLESS': {'type': bool, 'default': True}, 'CHROME_SANDBOX': {'type': bool, 'default': lambda c: not c['IN_DOCKER']}, 'YOUTUBEDL_ARGS': {'type': list, 'default': lambda c: [ + '--restrict-filenames', + '--trim-filenames', '--write-description', '--write-info-json', '--write-annotations',