Reduce result

This commit is contained in:
Yasir Aris M 2024-09-10 09:01:40 +07:00 committed by GitHub
parent 5e36957449
commit 1b4c365230
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -326,7 +326,7 @@ async def gsearch(_, message):
msg = await message.reply_text(f"**Googling** for `{query}` ...")
try:
gs = await fetch.get(
f"https://www.google.com/search?q={query}&gl=id&hl=id&num=17",
f"https://www.google.com/search?q={query}&gl=id&hl=id&num=16",
)
soup = BeautifulSoup(gs.text, "lxml")