瀏覽代碼

add yt-dlp restrict-filenames option to make filenames shorter

Nick Sweeting 1 年之前
父節點
當前提交
3b36928bdc
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      archivebox/config.py

+ 2 - 0
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',