diff options
author | Thanos Apollo <[email protected]> | 2023-11-20 10:26:34 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-11-20 10:27:21 +0200 |
commit | 88488687b71de8697fcfdb7d1c0bdcfc403a331e (patch) | |
tree | efffcd7c8fcdc11430797ab19bc85eaab5c9c7ad | |
parent | afe252b8ef2aaf493418c97f54f273d634f13f9b (diff) |
yeetube:(get-content) Indentation
-rw-r--r-- | yeetube.el | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -272,18 +272,20 @@ then for item." (buffer-substring (+ (point) 3) (- (search-forward ",\"") 5))))) (unless (member title (car yeetube-content)) (yeetube-get-item "viewcounttext") ;; View Count - (let ((view-count (buffer-substring (+ (point) 3) (- (search-forward " ") 0)))) + (let ((view-count (buffer-substring (+ (point) 3) + (- (search-forward " ") 0)))) (yeetube-get-item "lengthtext") ;; Video Duration - (let ((video-duration (buffer-substring (+ (point) 3) (- (search-forward "},") 3)))) + (let ((video-duration (buffer-substring (+ (point) 3) + (- (search-forward "},") 3)))) (yeetube-get-item "longbylinetext") ;; Channel Name - (let ((channel (buffer-substring (+ (point) 3) (- (search-forward ",") 2)))) - (push - (list :title title - :videoid videoid - :view-count view-count - :duration video-duration - :channel channel) - yeetube-content)))))))))) + (let ((channel (buffer-substring (+ (point) 3) + (- (search-forward ",") 2)))) + (push (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) |