mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Fix google command
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
This commit is contained in:
parent
4252696fec
commit
dbf5ff7a1f
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ async def gsearch(_, message):
|
||||||
link = result.select_one(".yuRUbf a")["href"]
|
link = result.select_one(".yuRUbf a")["href"]
|
||||||
title = result.select_one(".DKV0Md").text
|
title = result.select_one(".DKV0Md").text
|
||||||
try:
|
try:
|
||||||
snippet = result.select_one("#rso .lyLwlc").text
|
snippet = result.find(class_="kb0PBd cvP2Ce A9Y9g").get_text()
|
||||||
except:
|
except:
|
||||||
snippet = "-"
|
snippet = "-"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue