aboutsummaryrefslogtreecommitdiffstats
path: root/yeetube.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-02-07 08:44:55 +0200
committerThanos Apollo <[email protected]>2024-02-07 08:44:55 +0200
commitce74dbd98241863810e9486ca3be6f4cf9fd4f2f (patch)
treedb5c1548407cf8145f611372c53c10a581809cc7 /yeetube.el
parent0679fa6529bd82ffbb0d2186dea374bafd8df84b (diff)
yeetube-search: Use yeetube-get-filter-code with yeetube-sort-by
This applies a filter based on the value of yeetube-sorty-by.
Diffstat (limited to 'yeetube.el')
-rw-r--r--yeetube.el3
1 files changed, 2 insertions, 1 deletions
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))