summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-07-02 08:41:07 +0300
committerThanos Apollo <[email protected]>2023-07-02 08:41:07 +0300
commit56066f46f745a02ed7ed541045de365e9ef76f8f (patch)
tree9b6cc339430c8f979c116612291f048111fb1760
parent9c237dbf7056364f0550f870d8a970d183d8d578 (diff)
fix titles with commas & add open in browser key doc
-rw-r--r--yeetube.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/yeetube.el b/yeetube.el
index 0679b41..21636de 100644
--- a/yeetube.el
+++ b/yeetube.el
@@ -112,8 +112,8 @@ Example Usage:
(push videoid videoIds)
(search-forward "text")
(let* ((start (point))
- (end (search-forward ","))
- (title (buffer-substring (+ start 3) (- end 4))))
+ (end (search-forward ",\""))
+ (title (buffer-substring (+ start 3) (- end 5))))
(push title videoTitles))))))
(with-current-buffer (switch-to-buffer
(get-buffer-create "*Yeetube Search*"))
@@ -128,7 +128,8 @@ Example Usage:
videoId videoTitle)))
(insert
"\n\n\n~RET~ to play video\n"
- "\n~d~ to download\n")
+ "\n~d~ to download\n"
+ "\n~C-c C-o~ to open in browser")
(unless (toggle-enable-multibyte-characters)
(toggle-enable-multibyte-characters))
(setq buffer-read-only t)