mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-03 19:14:51 +00:00
Fix snippet google
This commit is contained in:
parent
1b4c365230
commit
86be6421f5
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,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.find(class_="kb0PBd cvP2Ce A9Y9g").get_text()
|
snippet = result.find(class_="VwiC3b yXK7lf lVm3ye r025kc hJNv6b").get_text()
|
||||||
except:
|
except:
|
||||||
snippet = "-"
|
snippet = "-"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue