From b07d41c09824ad1fe17227e94e00257609b0732d Mon Sep 17 00:00:00 2001 From: Yasir Aris M Date: Tue, 10 Sep 2024 09:25:10 +0700 Subject: [PATCH] Update misc_tools.py --- 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 37c259d0..2dd151de 100644 --- a/misskaty/plugins/misc_tools.py +++ b/misskaty/plugins/misc_tools.py @@ -338,7 +338,7 @@ async def gsearch(self, message): title = result.select_one(".DKV0Md").text if snippet := result.find(class_="VwiC3b yXK7lf lVm3ye r025kc hJNv6b"): snippet = snippet.get_text() - elif snippet := result.find(class_="LEwnzc Sqrs4e"): + elif snippet := result.find(class_="VwiC3b yXK7lf lVm3ye r025kc hJNv6b Hdw6tb"): snippet = snippet.get_text() else: snippet = "-"