Skip to content

Commit

Permalink
Fix snippet google
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirarism authored Sep 10, 2024
1 parent 1b4c365 commit 86be642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misskaty/plugins/misc_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ async def gsearch(_, message):
link = result.select_one(".yuRUbf a")["href"]
title = result.select_one(".DKV0Md").text
try:
snippet = result.find(class_="kb0PBd cvP2Ce A9Y9g").get_text()
snippet = result.find(class_="VwiC3b yXK7lf lVm3ye r025kc hJNv6b").get_text()
except:
snippet = "-"

Expand Down

0 comments on commit 86be642

Please sign in to comment.