aboutsummaryrefslogtreecommitdiffstats
path: root/yeetube.el
diff options
context:
space:
mode:
Diffstat (limited to 'yeetube.el')
-rw-r--r--yeetube.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/yeetube.el b/yeetube.el
index 854a990..a148f7e 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -304,8 +304,9 @@ It's recommended you keep it as the default value."
(url-retrieve-synchronously
(concat yeetube-query-url
"/search?q="
- (replace-regexp-in-string " " "+" query))
- t t)
+ (replace-regexp-in-string " " "+" query)
+ "&type=video")
+ t t 30)
(decode-coding-region (point-min) (point-max) 'utf-8)
(goto-char (point-min))
(toggle-enable-multibyte-characters)