From 4ce6455ae574d66bba9d31ca838f57d883285c75 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 28 Sep 2023 14:52:45 +0300 Subject: [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. --- yeetube.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 () -- cgit v1.2.3