commit 3769ddebc60a7d40ad2e8446626db8bb2af6bcf6
parent d8289659799f31b2fad3796b45dd59532083dfc8
Author: solderpunk <solderpunk@sdf.org>
Date: Fri, 15 May 2020 17:47:14 -0400
Merge pull request 'Add command to search GUS' (#8) from vee/AV-98:vee/gus into master
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/av98.py b/av98.py
@@ -1055,6 +1055,11 @@ Use 'ls -l' to see URLs."""
self._show_lookup(url = "-l" in line)
self.page_index = 0
+ def do_gus(self, line):
+ """Submit a search query to the GUS search engine."""
+ gus = GeminiItem("gemini://gus.guru/search")
+ self._go_to_gi(gus.query(line))
+
def do_history(self, *args):
"""Display history."""
self.lookup = self.history