mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Salah posisi edit di scraper pahe
This commit is contained in:
parent
990d7c5e86
commit
030133c9d6
1 changed files with 1 additions and 1 deletions
|
|
@ -172,8 +172,8 @@ async def melongmovie(_, message):
|
|||
@capture_err
|
||||
async def pahe_scrap(_, message):
|
||||
judul = message.text.split(" ", maxsplit=1)[1] if len(message.command) > 1 else ""
|
||||
r = await http.get(f"https://yasirapi.eu.org/pahe?q={judul}")
|
||||
pesan = await message.reply("Please wait, scraping data..")
|
||||
r = await http.get(f"https://yasirapi.eu.org/pahe?q={judul}")
|
||||
res = r.json()
|
||||
data = "".join(f"**{count}. {i['judul']}**\n{i['link']}\n\n" for count, i in enumerate(res["result"], start=1))
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue