mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Try fix year
This commit is contained in:
parent
0fad831bde
commit
dbcd986724
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ async def imdb_id_callback(bot, query):
|
|||
else:
|
||||
res_str += "\n"
|
||||
if duration := sop.select('li[data-testid="title-techspec_runtime"]'):
|
||||
durasi = duration[0].find(class_="sc-8c396aa2-2 jwaBvf").text
|
||||
durasi = duration[0].find(class_="ipc-metadata-list-item__content-container").text
|
||||
res_str += f"<b>Durasi:</b> <code>{GoogleTranslator('auto', 'id').translate(durasi)}</code>\n"
|
||||
if r_json.get("contentRating"):
|
||||
res_str += f"<b>Kategori:</b> <code>{r_json['contentRating']}</code> \n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue