From d9584dca635b499d46c439abf69d0cd06fb0c67b Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Wed, 11 Jan 2023 22:14:29 -0800 Subject: [PATCH] [DOCS] Add popular ytdl_options to docs (#411) --- src/ytdl_sub/config/preset_options.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/ytdl_sub/config/preset_options.py b/src/ytdl_sub/config/preset_options.py index 47cf2d8c..47755a0c 100644 --- a/src/ytdl_sub/config/preset_options.py +++ b/src/ytdl_sub/config/preset_options.py @@ -67,9 +67,20 @@ class YTDLOptions(LiteralDictValidator): presets: my_example_preset: ytdl_options: + # Ignore any download related errors and continue ignoreerrors: True + # Stop downloading additional metadata/videos if it + # exists in your download archive + break_on_existing: True + # Stop downloading additional metadata/videos if it + # is out of your date range + break_on_reject: True + # Path to your YouTube cookies file to download 18+ restricted content + cookiefile: "/path/to/cookies/file.txt" + # Only download this number of videos/audio + max_downloads: 10 - where each key is a ytdl argument. + where each key is a ytdl argument. Include in the example are some popular ytdl_options. """