From ce74dbd98241863810e9486ca3be6f4cf9fd4f2f Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 7 Feb 2024 08:44:55 +0200 Subject: yeetube-search: Use yeetube-get-filter-code with yeetube-sort-by This applies a filter based on the value of yeetube-sorty-by. --- yeetube.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'yeetube.el') diff --git a/yeetube.el b/yeetube.el index d4330aa..cffed92 100644 --- a/yeetube.el +++ b/yeetube.el @@ -283,7 +283,8 @@ This is used to download thumbnails from `yeetube-content', within (concat "https://youtube.com/search?q=" (replace-regexp-in-string " " "+" query) ;; Filter parameter to remove live videos. - "&sp=EgQQASAB") + "&sp=" + (yeetube-get-filter-code yeetube-sort-by)) 'silent 'inhibit-cookies 30) (decode-coding-region (point-min) (point-max) 'utf-8) (goto-char (point-min)) -- cgit v1.2.3