From 3b36928bdce143e5ab0462898c83f4fb07e2523a Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 23 Jan 2024 14:19:59 -0800 Subject: [PATCH 1/2] 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', From 016935f8c189ea5dcb081b4b2d5daff860b20290 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 23 Jan 2024 16:34:12 -0800 Subject: [PATCH 2/2] Update README.md --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 85d5ed27..1fe234ec 100644 --- a/README.md +++ b/README.md @@ -1380,17 +1380,21 @@ Extractors take the URL of a page to archive, write their output to the filesyst
-This project is maintained mostly in my spare time with the help from generous contributors and Monadical Consulting. +This project is maintained mostly in my spare time with the help from generous contributors.

+**🏛️ [Contact us for professional support](https://docs.sweeting.me/s/archivebox-consulting-services) 💬** +
-Sponsor this project on GitHub -
-
- + +   +   + +
+ArchiveBox operates as a US 501(c)(3) nonprofit, donations are tax-deductible.
(fiscally sponsored by HCB EIN: 81-2908499)

(网站存档 / 爬虫)