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 92c7e7c..4bd1882 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -177,12 +177,13 @@ PREFIX [[URL/watch?v=VIDEOID][VIDEOTITLE ]]"
prefix url video-id
(yeetube-fix-title video-title)))))
+
(defun yeetube-search (query)
"Search for QUERY."
(interactive "sYeetube Search: ")
(let ((video-ids '())
(video-titles '())
- (is-youtube? (yeetube-check-if-youtube query)))
+ (is-youtube? (yeetube-check-if-youtube yeetube-query-url)))
(with-current-buffer
(url-retrieve-synchronously
(concat yeetube-query-url