Skip to content

Commit

Permalink
Update misc_tools.py
Browse files Browse the repository at this point in the history
Signed-off-by: Yasir Aris M <git@yasir.id>
  • Loading branch information
yasirarism authored Jan 12, 2025
1 parent 6f29813 commit 2fec8d5
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 @@ -342,7 +342,7 @@ def shorten_text(text):
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 = "-"
Expand Down

0 comments on commit 2fec8d5

Please sign in to comment.