diff options
author | Thanos Apollo <[email protected]> | 2023-08-30 14:57:02 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-08-30 14:57:02 +0300 |
commit | c4f1919b7fae128dcac424c3a820cdd20413c16d (patch) | |
tree | 45fa46d94259a0133da19b2d9faa72e9c3f91ab9 | |
parent | b369d655e470fb6539237202491dd6c836136509 (diff) |
yeetube-download-video: remove shell-argument
Fix for zsh
-rw-r--r-- | yeetube.el | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -412,10 +412,7 @@ Example Usage: (let ((default-directory yeetube-download-directory)) (call-process-shell-command (if yeetube-download-audio-format - (format "%s '%s' --extract-audio --audio-format %s" - (shell-quote-argument yeetube-yt-dlp) - (shell-quote-argument url) - (shell-quote-argument yeetube-download-audio-format)) + (format "%s '%s' --extract-audio --audio-format %s" (executable-find "yt-dlp") url yeetube-download-audio-format) (format "%s '%s'" (executable-find "yt-dlp") url)) nil 0) (message "Downloading %s " url))))) |