Prechádzať zdrojové kódy

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

Nick Sweeting 1 rok pred
rodič
commit
3b36928bdc
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  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',