dotfiles/.config/yt-dlp/config
2023-10-20 20:53:01 +02:00

22 lines
529 B
Text

-U # Upgrade
-o "%(release_date,upload_date)s.%(title)s.%(ext)s"
-P "temp:/tmp"
--embed-subs
--write-subs
--write-auto-subs
--sub-langs fr,en,en(-|_)?.+,-live_chat
#--sub-langs en
--embed-thumbnail
-i
-S res:1440,fps,hdr:12,vcodec,channels,acodec,lang,proto
#-f "((bestvideo[height<=?1440][width<=?2560]/bestvideo)+bestaudio)/best"
--add-metadata
--hls-use-mpegts
--compat-options no-keep-subs
--download-archive ".yt-dlp_archive"
#-N 4
#--netrc
# For 429 errors
--retry-sleep fragment:exp=1:320
--abort-on-unavailable-fragment