summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-07-04 13:09:20 +0300
committerThanos Apollo <[email protected]>2023-07-05 18:13:10 +0300
commit509ea6c9d50cfdfb7b64d8b93e5a9d27469f9e27 (patch)
tree19a656be5755dc5a66f5f385b8515c6d8094f6fb
parent613c3ce96301c3ca0658bb936f0050d6bf3973da (diff)
fix: Remove titles & videoids that contain vssLoggingContext
This marks version v0.0.1 making it a "usable" package
-rw-r--r--yeetube.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/yeetube.el b/yeetube.el
index 077be89..b9b0780 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -136,7 +136,9 @@ Example Usage:
(let* ((start (point))
(end (search-forward ",\""))
(title (buffer-substring (+ start 3) (- end 5))))
- (push title videoTitles))))))
+ (if (string-match-p "vssLoggingContext" title)
+ (pop videoIds)
+ (push title videoTitles)))))))
(with-current-buffer (switch-to-buffer
(get-buffer-create "*Yeetube Search*"))
(setq buffer-read-only nil)