aboutsummaryrefslogtreecommitdiffstats
path: root/yeetube.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-10-14 13:56:56 +0300
committerThanos Apollo <[email protected]>2023-10-17 09:24:21 +0300
commit2663fb204f19a618d8b9eb70212dc0723e966725 (patch)
treea729dda17419b5c73e9f5186d595dbfb3ae263ec /yeetube.el
parent945f8970c2935da326125e30a6d9289dc98a2ddd (diff)
yeetube:(yeetube-get-content) Use keywords
Rewrite yeetube-get-content to push content with keywords, retriving values easier
Diffstat (limited to 'yeetube.el')
-rw-r--r--yeetube.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/yeetube.el b/yeetube.el
index 5cd7a88..64d61a1 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -229,7 +229,11 @@ then for item."
(yeetube-get-item "longbylinetext") ;; Channel Name
(let ((channel (buffer-substring (+ (point) 3) (- (search-forward ",") 2))))
(push
- `(,title ,videoid ,view-count ,video-duration ,channel)
+ (list :title title
+ :videoid videoid
+ :view-count view-count
+ :duration video-duration
+ :channel channel)
yeetube-content))))))))))
(add-variable-watcher 'yeetube-saved-videos #'yeetube-update-saved-videos-list)