mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-03 11:04:51 +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
|
@capture_err
|
||||||
async def pahe_scrap(_, message):
|
async def pahe_scrap(_, message):
|
||||||
judul = message.text.split(" ", maxsplit=1)[1] if len(message.command) > 1 else ""
|
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..")
|
pesan = await message.reply("Please wait, scraping data..")
|
||||||
|
r = await http.get(f"https://yasirapi.eu.org/pahe?q={judul}")
|
||||||
res = r.json()
|
res = r.json()
|
||||||
data = "".join(f"**{count}. {i['judul']}**\n{i['link']}\n\n" for count, i in enumerate(res["result"], start=1))
|
data = "".join(f"**{count}. {i['judul']}**\n{i['link']}\n\n" for count, i in enumerate(res["result"], start=1))
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue