aboutsummaryrefslogtreecommitdiffstats
path: root/yeetube.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-09-28 14:52:45 +0300
committerThanos Apollo <[email protected]>2023-09-28 14:52:45 +0300
commit4ce6455ae574d66bba9d31ca838f57d883285c75 (patch)
tree36d79f8bf95f3d2133efda4bd3a1af436ab4e35c /yeetube.el
parent9b606a113af2a8fca1741de69014176e6a028c86 (diff)
[fix] yeetube-get-url get full url, not just videoid
Previously this command would just return videoid, now it returns full video url. Fixing issues with yeetube-download functions.
Diffstat (limited to 'yeetube.el')
-rw-r--r--yeetube.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/yeetube.el b/yeetube.el
index d147a6f..d26bf52 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -129,7 +129,8 @@ Example Usage:
(defun yeetube-get-url ()
"Get url for subject in *yeetube* buffer at point."
- (let ((video-url (cadr (nth (- (line-number-at-pos) 1) (reverse yeetube-content)))))
+ (let ((video-url (concat "https://youtube.com/watch?v="
+ (cadr (nth (- (line-number-at-pos) 1) (reverse yeetube-content))))))
video-url))
(defun yeetube-play ()