summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-10-03 08:55:44 +0300
committerThanos Apollo <[email protected]>2023-10-03 08:55:44 +0300
commit31afc3475d3650b48b93281767c839fcc74ef2c6 (patch)
tree50daebef5f7cc4a2b308cf4a348703b2f39232a9
parent2ada7fa0bf694eb6c273a5b9a2d4c4673dde8bc6 (diff)
yeetube: Update yeetube-download functions docs
-rw-r--r--yeetube.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/yeetube.el b/yeetube.el
index 0fb4f11..c68d821 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -217,9 +217,11 @@ then for item."
(setf yeetube-download-audio-format nil)))
(defun yeetube-download-ytdlp (url &optional name audio-format)
- "Use yt-dlp with URL as NAME, when AUDIO-FORMAT extract content as audio format.
+ "Download URL using yt-dlp.
-Name can be left as nil to keep the default name."
+Optional values:
+ NAME to specify file.
+ AUDIO-FORMAT to extract and keep contents as specified audio-format only."
(interactive)
(unless yeetube-ytdlp
(error "Executable for yt-dlp not found. Please install yt-dlp"))
@@ -233,7 +235,7 @@ Name can be left as nil to keep the default name."
;;;###autoload
(defun yeetube-download-video ()
- "Download using link at point in *yeetube* buffer with yt-dlp."
+ "Download entry at point in *yeetube* buffer with yt-dlp."
(interactive)
(let ((url (yeetube-get-url)))
(when (string-prefix-p "http" url)