aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-02-07 08:43:48 +0200
committerThanos Apollo <[email protected]>2024-02-07 08:43:48 +0200
commit754dc9407ba2d6a62abfd154c5d245105e47b94e (patch)
tree3c6e098071ce6eab49e5030716f6231ce67bdb66
parenta9ccca869b4b122c7b738b5d2b9a24742a5d6574 (diff)
Add yeetube-filter-code-alist
List of filter codes used by youtube.com
-rw-r--r--yeetube.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/yeetube.el b/yeetube.el
index 569948a..c9e456a 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -264,6 +264,11 @@ This is used to download thumbnails from `yeetube-content', within
(concat "wget " (shell-quote-argument thumbnail) " -O" (shell-quote-argument title))
nil 0)))))
+(defvar yeetube-filter-code-alist
+ '(("Relevance" . "CAASAhAB")
+ ("Date" . "CAISAhAB")
+ ("Views" . "CAMSAhAB")
+ ("Rating" . "CAESAhAB")))
;;;###autoload
(defun yeetube-search (query)
"Search for QUERY."