mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-01 02:24:52 +00:00
Fix
This commit is contained in:
parent
e7a2ea4d06
commit
d5eb005f74
1 changed files with 2 additions and 2 deletions
|
|
@ -277,7 +277,7 @@ async def imdb_id_callback(_, query):
|
|||
)
|
||||
sop = BeautifulSoup(resp, "lxml")
|
||||
r_json = json.loads(sop.find("script", attrs={"type": "application/ld+json"}).contents[0])
|
||||
ott = await search_jw(r_json.get("name"), "en_ID")
|
||||
ott = await search_jw(r_json.get("name"), "ID")
|
||||
typee = f"<code>{r_json.get('@type', '')}</code>"
|
||||
res_str = ""
|
||||
if judul := r_json.get("name"):
|
||||
|
|
@ -406,7 +406,7 @@ async def imdb_en_callback(bot, query):
|
|||
)
|
||||
sop = BeautifulSoup(resp, "lxml")
|
||||
r_json = json.loads(sop.find("script", attrs={"type": "application/ld+json"}).contents[0])
|
||||
ott = await search_jw(r_json.get("name"), "en_US")
|
||||
ott = await search_jw(r_json.get("name"), "US")
|
||||
typee = f"<code>{r_json.get('@type', '')}</code>"
|
||||
res_str = ""
|
||||
if judul := r_json.get("name"):
|
||||
|
|
|
|||
Loading…
Reference in a new issue