From 9f29662cf6ce67b797bf51598be1a27ade54e6b0 Mon Sep 17 00:00:00 2001 From: David Calvo Date: Fri, 24 May 2024 11:34:37 +0200 Subject: [PATCH] readded content to rename --- kebbie/emulator.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/kebbie/emulator.py b/kebbie/emulator.py index b623589..053ba38 100644 --- a/kebbie/emulator.py +++ b/kebbie/emulator.py @@ -107,6 +107,8 @@ "Search": "enter", "return": "enter", "Enter": "enter", + "Delete.": "backspace", + "To symbols.": "numbers", "Symbol keyboard": "numbers", "Symbols": "numbers", "Symbols and numbers": "numbers", @@ -1092,6 +1094,7 @@ def get_suggestions(self) -> List[str]: suggestions = [] # Get the raw content as text, weed out useless elements + ''''''''' section = self.driver.page_source.split(" List[str]: suggestions.append(html.unescape(m.group(1))) return suggestions + ''''''''' + + for data in self.driver.page_source.split(" List[str]: if m: suggestions.append(html.unescape(m.group(1))) - return suggestions + return suggestions \ No newline at end of file