mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-03 11:04:51 +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:
|
else:
|
||||||
res_str += "\n"
|
res_str += "\n"
|
||||||
if duration := sop.select('li[data-testid="title-techspec_runtime"]'):
|
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"
|
res_str += f"<b>Durasi:</b> <code>{GoogleTranslator('auto', 'id').translate(durasi)}</code>\n"
|
||||||
if r_json.get("contentRating"):
|
if r_json.get("contentRating"):
|
||||||
res_str += f"<b>Kategori:</b> <code>{r_json['contentRating']}</code> \n"
|
res_str += f"<b>Kategori:</b> <code>{r_json['contentRating']}</code> \n"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue