1 { pkgs, lib, config, ... }:
10 xdg.configFile."yt-dlp/config".text = ''
11 #--download-archive .downloaded
13 --format ${lib.concatStringsSep "/" [
14 #"bestvideo[height=360][ext=mp4]+bestaudio"
15 "bestvideo[height=480][ext=mp4]+bestaudio"
16 #"best[height=360][ext=mp4]"
17 "best[height=480][ext=mp4]"
22 --output "%(upload_date>%Y-%m-%d)s - %(title)s.%(id)s.%(format_id)s.%(ext)s"