summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ()