From f729bbe122c96fb1fbaf0d0f39cae30aa513b5d0 Mon Sep 17 00:00:00 2001 From: Joseph Turian Date: Wed, 14 Sep 2022 06:27:58 +0200 Subject: [PATCH] yt-dlp fixes --- archivebox/config.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/archivebox/config.py b/archivebox/config.py index 9744cd16..b6f7e7c1 100644 --- a/archivebox/config.py +++ b/archivebox/config.py @@ -144,12 +144,17 @@ CONFIG_SCHEMA: Dict[str, ConfigDefaultDict] = { '--no-call-home', '--write-sub', '--all-subs', - '--write-auto-sub', + # There are too many of these and youtube + # throttles you with HTTP error 429 + #'--write-auto-sub', '--convert-subs=srt', '--yes-playlist', '--continue', - '--ignore-errors', '--no-abort-on-error', + # --ignore-errors must come AFTER + # --no-abort-on-error + # https://github.com/yt-dlp/yt-dlp/issues/4914 + '--ignore-errors', '--geo-bypass', '--add-metadata', '--max-filesize={}'.format(c['MEDIA_MAX_SIZE']),