diff options
author | lassulus <lassulus@lassul.us> | 2022-05-27 20:13:03 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-05-27 20:13:03 +0200 |
commit | a6c74f87d1075d06bc9215db128479b74297ac7e (patch) | |
tree | 40bf3ed8aa3492bedfb4f95b994c4ba5042c9b41 /krebs | |
parent | 08887763dcf8a3e4d2a8152f051d4fa00d5b216e (diff) |
news: youtube-dl -> yt-dlp
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/2configs/news.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/2configs/news.nix b/krebs/2configs/news.nix index 1f966bf24..9e2cec10a 100644 --- a/krebs/2configs/news.nix +++ b/krebs/2configs/news.nix @@ -164,7 +164,7 @@ if [ ''${#youtube_url} -eq 24 ]; then youtube_id=$youtube_url else - youtube_id=$(${pkgs.youtube-dl}/bin/youtube-dl --max-downloads 1 -j "$youtube_url" | ${pkgs.jq}/bin/jq -r '.channel_id') + youtube_id=$(${pkgs.yt-dlp}/bin/yt-dlp --max-downloads 1 -j "$youtube_url" | ${pkgs.jq}/bin/jq -r '.channel_id') fi echo "brockman: add yt_$youtube_nick http://rss.r/?action=display&bridge=Youtube&context=By+channel+id&c=$youtube_id&duration_min=&duration_max=&format=Mrss" ''; |