From 26f75019d4b539c018d03ba8c4e2d5361bf7fb06 Mon Sep 17 00:00:00 2001
From: yasirarism <55983182+yasirarism@users.noreply.github.com>
Date: Mon, 20 Mar 2023 06:04:48 +0700
Subject: [PATCH] Typo
---
misskaty/plugins/imdb_search.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misskaty/plugins/imdb_search.py b/misskaty/plugins/imdb_search.py
index 34878826..36f68848 100644
--- a/misskaty/plugins/imdb_search.py
+++ b/misskaty/plugins/imdb_search.py
@@ -418,7 +418,7 @@ async def imdb_en_callback(bot, query):
ott = await search_jw(r_json.get("name"), "US")
typee = r_json.get("@type", "")
res_str = ""
- tahun = re.findall(r"\d{4}\W\d{4}|\d{4}-?W", sop.title.text)[0] if re.findall(r"\d{4}\W\d{4}|\d{4}-?", sop.title.text) else "N/A"
+ tahun = re.findall(r"\d{4}\W\d{4}|\d{4}-?", sop.title.text)[0] if re.findall(r"\d{4}\W\d{4}|\d{4}-?", sop.title.text) else "N/A"
res_str += f"📹 Judul: {r_json.get('name')} [{tahun}] ({typee})\n"
if aka := r_json.get("alternateName"):
res_str += f"📢 AKA: {aka}\n\n"