From 81d72a650564b719807aa16942145142d07d5fc0 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sat, 14 Oct 2023 13:53:35 +0300 Subject: Add yeetube-url variable Avoid hardcoding youtube.com, user can change this to an invidious instance if they desire so --- yeetube.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yeetube.el b/yeetube.el index 6d4f898..f112db5 100644 --- a/yeetube.el +++ b/yeetube.el @@ -90,7 +90,10 @@ Example Usage: (defvar yeetube-last-played nil "Last played url.") -;; TODO: Rewrite without hardcoding youtube.com +(defvar yeetube-url "https://youtube.com/watch?v=" + "URL used to play videos from. + +You can change the value to an invidious instance.") (defun yeetube-get-url () "Get url for subject in *yeetube* buffer at point." (let ((video-url (concat "https://youtube.com/watch?v=" -- cgit v1.2.3