dotfiles/.config/yt-dlp/config

35 lines
861 B
INI

# Force resume of partially downloaded files.
--continue
# Use the specified external downloader.
--external-downloader "aria2c"
# Give these arguments to the external downloader.
--downloader-args "aria2c:--file-allocation=none"
# Video format code.
--format "bv*[height<=?1080]+ba/b"
# If a merge is required, output to given container format.
--merge-output-format "mkv"
# Prefer video formats with free containers.
--prefer-free-formats
# Do not use .part files - write directly into output file.
--no-part
# Output filename template.
--output "%(title)s.%(ext)s"
# Specify a custom user agent.
--user-agent "Mozilla/5.0 (Linux x86_64) yt-dlp/2023.07.06"
# SponsorBlock categories to create chapters for.
--sponsorblock-mark "all"
# SponsorBlock categories to be removed from the video file.
--sponsorblock-remove "music_offtopic"
# vim:ft=conf: