From 2fec8d5772a8f1c8267be9116c05f81651c72aaa Mon Sep 17 00:00:00 2001 From: Yasir Aris M Date: Sun, 12 Jan 2025 11:47:31 +0700 Subject: [PATCH] Update misc_tools.py Signed-off-by: Yasir Aris M --- misskaty/plugins/misc_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misskaty/plugins/misc_tools.py b/misskaty/plugins/misc_tools.py index 8df59ff4..da10431a 100644 --- a/misskaty/plugins/misc_tools.py +++ b/misskaty/plugins/misc_tools.py @@ -342,7 +342,7 @@ async def gsearch(self, message): title = result.select_one(".DKV0Md").text if snippet := result.find(class_="VwiC3b yXK7lf p4wth r025kc hJNv6b"): snippet = snippet.get_text() - elif snippet := result.find(class_="VwiC3b yXK7lf lVm3ye r025kc hJNv6b Hdw6tb"): + elif snippet := result.find(class_="VwiC3b yXK7lf p4wth r025kc hJNv6b Hdw6tb"): snippet = snippet.get_text() else: snippet = "-"