mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
fix
This commit is contained in:
parent
c10fbb16f3
commit
9bc3f78a99
1 changed files with 3 additions and 3 deletions
|
|
@ -83,9 +83,9 @@ async def getDatalk21(chat_id, message_id, kueri, CurrentPage):
|
|||
lkResult = ""
|
||||
for c, i in enumerate(LKTERBIT_DICT[message_id][0][index], start=1):
|
||||
if kueri:
|
||||
lkResult = f"<b>#Layarkaca21 Results For:</b> <code>{kueri}</code>\n\n"
|
||||
lkResult += f"<b>#Layarkaca21 Results For:</b> <code>{kueri}</code>\n\n"
|
||||
else:
|
||||
lkResult = "<b>#Layarkaca21 Latest:</b>\n🌀 Use /lk21 [title] to start search with title.\n\n"
|
||||
lkResult += "<b>#Layarkaca21 Latest:</b>\n🌀 Use /lk21 [title] to start search with title.\n\n"
|
||||
lkResult += f"<b>{c}. <a href='{i['link']}'>{i['judul']}</a></b>\n<b>Category:</b> <code>{i['kategori']}</code>\n"
|
||||
lkResult += "\n" if re.search(r"Complete|Ongoing", i["kategori"]) else f"💠 <b><a href='{i['dl']}'>Download</a></b>\n\n"
|
||||
INGNORE_CHAR = "[]"
|
||||
|
|
@ -107,7 +107,7 @@ async def terbit21_s(client, message):
|
|||
kueri = None
|
||||
pesan = await message.reply("Getting data from Terbit21..")
|
||||
CurrentPage = 1
|
||||
terbitres, PageLen = await getDatalk21(chat_id, pesan.id, kueri, CurrentPage)
|
||||
terbitres, PageLen = await getDataTerbit21(chat_id, pesan.id, kueri, CurrentPage)
|
||||
keyboard = InlineKeyboard()
|
||||
keyboard.paginate(PageLen, CurrentPage, 'page_terbit21#{number}' + f'#{pesan.id}#{message.from_user.id}')
|
||||
keyboard.row(
|
||||
|
|
|
|||
Loading…
Reference in a new issue