dotfiles/.config/yt-dlp/config

35 lines
861 B
INI
Raw Permalink Normal View History

2019-05-28 17:44:30 +02:00
# Force resume of partially downloaded files.
--continue
# Use the specified external downloader.
2019-09-25 20:07:56 +02:00
--external-downloader "aria2c"
2019-05-28 17:44:30 +02:00
# Give these arguments to the external downloader.
2022-01-19 11:31:07 +01:00
--downloader-args "aria2c:--file-allocation=none"
2019-05-28 17:44:30 +02:00
2019-05-31 11:22:56 +02:00
# Video format code.
2022-01-19 11:31:07 +01:00
--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
2019-05-31 11:22:56 +02:00
2019-05-28 17:44:30 +02:00
# 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.
2023-11-15 18:27:45 +01:00
--user-agent "Mozilla/5.0 (Linux x86_64) yt-dlp/2023.07.06"
2019-05-28 17:44:30 +02:00
2022-01-19 11:31:07 +01:00
# SponsorBlock categories to create chapters for.
--sponsorblock-mark "all"
# SponsorBlock categories to be removed from the video file.
--sponsorblock-remove "music_offtopic"
2019-05-28 17:44:30 +02:00
# vim:ft=conf: