summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-08-30 14:57:02 +0300
committerThanos Apollo <[email protected]>2023-08-30 14:57:02 +0300
commitc4f1919b7fae128dcac424c3a820cdd20413c16d (patch)
tree45fa46d94259a0133da19b2d9faa72e9c3f91ab9
parentb369d655e470fb6539237202491dd6c836136509 (diff)
yeetube-download-video: remove shell-argument
Fix for zsh
-rw-r--r--yeetube.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/yeetube.el b/yeetube.el
index cd2f656..3b1c644 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -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)))))