--embed-subs
--sub-langs all
--format ${lib.concatStringsSep "/" [
- #"bestvideo[height=360][ext=mp4]+bestaudio"
"bestvideo[height=480][ext=mp4]+bestaudio"
- #"best[height=360][ext=mp4]"
+ "bestvideo[height=480]+bestaudio"
+ "bestvideo[height<=480][ext=mp4]+bestaudio"
+ "bestvideo[height<=480]+bestaudio"
"best[height=480][ext=mp4]"
- #"best[height=360]"
"best[height=480]"
+ "best[height<=480][ext=mp4]"
+ "best[height<=480]"
"best"
]}
--output "%(release_date>%Y-%m-%d,upload_date>%Y-%m-%d)s - %(title)s.%(id)s.%(format_id)s.%(ext)s"
--match-filter !is_live
--prefer-free-formats
--sub-format ass/srt/best
- --sub-langs "en.*,fr,-live_chat"
+ --sub-langs "en.*,fr,-live_chat,-rechat"
--user-agent Mozilla/5.0
'';
}