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 = "-"