mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
Update misc_tools.py
Signed-off-by: Yasir Aris M <git@yasir.id>
This commit is contained in:
parent
6f29813f06
commit
2fec8d5772
1 changed files with 1 additions and 1 deletions
|
|
@ -342,7 +342,7 @@ async def gsearch(self, message):
|
||||||
title = result.select_one(".DKV0Md").text
|
title = result.select_one(".DKV0Md").text
|
||||||
if snippet := result.find(class_="VwiC3b yXK7lf p4wth r025kc hJNv6b"):
|
if snippet := result.find(class_="VwiC3b yXK7lf p4wth r025kc hJNv6b"):
|
||||||
snippet = snippet.get_text()
|
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()
|
snippet = snippet.get_text()
|
||||||
else:
|
else:
|
||||||
snippet = "-"
|
snippet = "-"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue