mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-02 02:44:50 +00:00
Try using own api
This commit is contained in:
parent
f8908077e2
commit
29f6d05d76
1 changed files with 1 additions and 1 deletions
|
|
@ -323,7 +323,7 @@ async def imdb_id_callback(_, query):
|
|||
]
|
||||
)
|
||||
else:
|
||||
markup = InlineKeyboardMarkup([[InlineKeyboardButton("🎬 Open IMDB", url=f"https://www.imdb.com{r_json['url']}")]])
|
||||
markup = InlineKeyboardMarkup([[InlineKeyboardButton("🎬 Open IMDB", url=url)]])
|
||||
if thumb := r_json.get("thumb"):
|
||||
try:
|
||||
await query.message.edit_media(InputMediaPhoto(thumb, caption=res_str), reply_markup=markup)
|
||||
|
|
|
|||
Loading…
Reference in a new issue