From 5594cc726f11b9149ae926017ead66602ab96c6b Mon Sep 17 00:00:00 2001
From: yasirarism <55983182+yasirarism@users.noreply.github.com>
Date: Wed, 11 Jan 2023 18:07:12 +0700
Subject: [PATCH] Minor Fix
---
misskaty/plugins/web_scraper.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/misskaty/plugins/web_scraper.py b/misskaty/plugins/web_scraper.py
index 875af9b3..80d3998d 100644
--- a/misskaty/plugins/web_scraper.py
+++ b/misskaty/plugins/web_scraper.py
@@ -198,7 +198,7 @@ async def getDataMovieku(msg, kueri, CurrentPage):
moviekuResult = f"#Movieku Latest:\nš Use /movieku [title] to start search with title.\n\n" if kueri == "" else f"#Movieku Results For: {kueri}\n\n"
for c, i in enumerate(SCRAP_DICT[msg.id][0][index], start=1):
- moviekuResult += f"{c}. {i['judul']}\nQuality: {i['quality']}\nExtract: /melongmovie_scrap {i['link']}\n\n"
+ moviekuResult += f"{c}. {i['judul']}\nQuality: ~\nExtract: /movieku_scrap {i['link']}\n\n"
IGNORE_CHAR = "[]"
moviekuResult = ''.join(i for i in moviekuResult if not i in IGNORE_CHAR)
return moviekuResult, PageLen
@@ -306,7 +306,7 @@ async def getDataZonafilm(msg, kueri, CurrentPage):
# GoMov GetData
async def getDataGomov(msg, kueri, CurrentPage):
if not SCRAP_DICT.get(msg.id):
- gomovv = await http.get(f'https://185.173.38.216/?s=', headers=headers)
+ gomovv = await http.get(f'https://185.173.38.216/?s={kueri}', headers=headers)
text = BeautifulSoup(gomovv.text, "lxml")
entry = text.find_all(class_="entry-header")
if "Nothing Found" in entry[0].text:
@@ -853,4 +853,4 @@ async def gomov_zonafilm_dl(_, message):
except IndexError:
await message.reply(f"Gunakan command /{message.command[0]} [link] untuk scrap link download")
except Exception as err:
- await message.reply(f"ERROR: {err}")
\ No newline at end of file
+ await message.reply(f"ERROR: {err}")