42 lines
610 B
Plaintext
42 lines
610 B
Plaintext
# best video and audio
|
|
-f bestvideo+bestaudio
|
|
|
|
# Thumbnail
|
|
--write-thumbnail
|
|
--embed-thumbnail
|
|
|
|
# Add chapters
|
|
--embed-chapters
|
|
|
|
# Embed info json
|
|
--write-info-json
|
|
--embed-info-json
|
|
|
|
# Metadata
|
|
--embed-metadata
|
|
|
|
# Description
|
|
--write-description
|
|
|
|
# Subtitles
|
|
--sub-langs en.*
|
|
--write-subs
|
|
--embed-subs
|
|
|
|
# Concurrent download of fragments
|
|
--concurrent-fragments 8
|
|
|
|
# Cache
|
|
--cache-dir /tmp/yt-dlp/cache
|
|
|
|
# Cookies
|
|
--cookies /mnt/youtube/cookies.txt
|
|
|
|
# Merge downloaded video and audio into a mkv file
|
|
--merge-output-format mkv
|
|
|
|
# Chill out
|
|
--sleep-requests 1.25
|
|
--min-sleep-interval 60
|
|
--max-sleep-interval 90
|