[DOCS] Add popular ytdl_options to docs

This commit is contained in:
Jesse Bannon 2023-01-11 21:55:46 -08:00
parent c84496910f
commit 361241451e

View file

@ -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.
"""