[DOCS] Add popular ytdl_options to docs (#411)

This commit is contained in:
Jesse Bannon 2023-01-11 22:14:29 -08:00 committed by GitHub
parent 053042b4b9
commit d9584dca63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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