mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-06 20:04:51 +00:00
Change API and add justwatch
This commit is contained in:
parent
4a148f525a
commit
8168614f92
1 changed files with 2 additions and 2 deletions
|
|
@ -337,7 +337,7 @@ async def imdb_id_callback(_, query):
|
|||
creator += f"<a href='https://www.imdb.com{url}'>{name}</a>, "
|
||||
creator = creator[:-2]
|
||||
res_str += f"<b>Penulis:</b> {creator}\n"
|
||||
if actors := r_json.get("actors"):
|
||||
if actors := r_json.get("actor"):
|
||||
actor = ""
|
||||
for i in actors:
|
||||
name = i["name"]
|
||||
|
|
@ -466,7 +466,7 @@ async def imdb_en_callback(bot, query):
|
|||
creator += f"<a href='https://www.imdb.com{url}'>{name}</a>, "
|
||||
creator = creator[:-2]
|
||||
res_str += f"<b>Writer:</b> {creator}\n"
|
||||
if actors := r_json.get("actors"):
|
||||
if actors := r_json.get("actor"):
|
||||
actor = ""
|
||||
for i in actors:
|
||||
name = i["name"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue