Commit 2196429afda2

Vincent Demeester <vincent@sbr.pm>
2023-07-27 09:25:50
users/vincent: switch from youtube-dl to yt-dlp
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 3f8e0f9
Changed files (3)
tools
users
vincent
tools/emacs/config/config-elfeed.el
@@ -98,7 +98,7 @@
   (defun yt-dl-it (url)
     "Downloads the URL in an async shell"
     (let ((default-directory "~/desktop/videos"))
-      (async-shell-command (format "youtube-dl \"%s\"" url))))
+      (async-shell-command (format "yt-dlp \"%s\"" url))))
 
   (defun elfeed-youtube-dl (&optional use-generic-p)
     "Youtube-DL link"
tools/emacs/old-config/config-elfeed.el
@@ -98,7 +98,7 @@
   (defun yt-dl-it (url)
     "Downloads the URL in an async shell"
     (let ((default-directory "~/desktop/videos"))
-      (async-shell-command (format "youtube-dl \"%s\"" url))))
+      (async-shell-command (format "yt-dlp \"%s\"" url))))
 
   (defun elfeed-youtube-dl (&optional use-generic-p)
     "Youtube-DL link"
users/vincent/desktop/default.nix
@@ -43,7 +43,7 @@ in
     xdg-user-dirs
     xdg-utils
     xsel
-    youtube-dl
+    yt-dlp # youtube-dl
   ];
 
   home.file.".XCompose".source = ./xorg/XCompose;