This commit is contained in:
Yasir Aris M 2024-09-24 10:28:50 +07:00 committed by GitHub
parent 5136b96a45
commit a58667dcde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1507,7 +1507,7 @@ async def movieku_scrap(_, callback_query, strings):
return await message.reply(strings("no_result")) return await message.reply(strings("no_result"))
if total_links > 70: if total_links > 70:
url = await post_to_telegraph(False, link, "<br>".join(output)) url = await post_to_telegraph(False, link, "<br>".join(output))
return await callback_query.message.edit_msg(strings("res_scrape").format(link=link, kl=f"Your result is too long, i have pasted your result on Telegraph:\n{url})", reply_markup=keyboard) return await callback_query.message.edit_msg(strings("res_scrape").format(link=link, kl=f"Your result is too long, i have pasted your result on Telegraph:\n{url}"), reply_markup=keyboard)
await callback_query.message.edit_msg(strings("res_scrape").format(link=link, kl="\n".join(output)), reply_markup=keyboard) await callback_query.message.edit_msg(strings("res_scrape").format(link=link, kl="\n".join(output)), reply_markup=keyboard)
except httpx.HTTPError as exc: except httpx.HTTPError as exc:
await callback_query.message.edit_msg( await callback_query.message.edit_msg(