1 { pkgs, lib, config, ... }:
7 # error: phantomjs 1.9.8 has been dropped due to lack of maintenance and security issues
11 xdg.configFile."yt-dlp/config".text = ''
12 #--download-archive .downloaded
14 --format ${lib.concatStringsSep "/" [
15 #"bestvideo[height=360][ext=mp4]+bestaudio"
16 "bestvideo[height=480][ext=mp4]+bestaudio"
17 #"best[height=360][ext=mp4]"
18 "best[height=480][ext=mp4]"
23 --output "%(upload_date>%Y-%m-%d)s - %(title)s.%(id)s.%(format_id)s.%(ext)s"