dotfiles/.config/yt-dlp/config

23 lines
529 B
Text
Raw Normal View History

2023-10-20 20:53:01 +02:00
-U # Upgrade
2022-08-20 20:23:03 +02:00
-o "%(release_date,upload_date)s.%(title)s.%(ext)s"
-P "temp:/tmp"
2021-10-21 18:27:57 +02:00
--embed-subs
--write-subs
2022-01-10 19:37:13 +01:00
--write-auto-subs
2023-06-17 11:56:49 +02:00
--sub-langs fr,en,en(-|_)?.+,-live_chat
2023-04-12 02:34:24 +02:00
#--sub-langs en
--embed-thumbnail
2021-10-21 18:27:57 +02:00
-i
2023-02-20 19:06:03 +01:00
-S res:1440,fps,hdr:12,vcodec,channels,acodec,lang,proto
#-f "((bestvideo[height<=?1440][width<=?2560]/bestvideo)+bestaudio)/best"
2021-10-21 18:27:57 +02:00
--add-metadata
--hls-use-mpegts
2022-01-10 19:37:13 +01:00
--compat-options no-keep-subs
--download-archive ".yt-dlp_archive"
#-N 4
2023-06-17 11:56:49 +02:00
#--netrc
2023-02-05 23:49:47 +01:00
# For 429 errors
--retry-sleep fragment:exp=1:320
--abort-on-unavailable-fragment