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