mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-02 10:44:50 +00:00
Try using own api
This commit is contained in:
parent
29f6d05d76
commit
4783d7d81d
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ async def imdb_id_callback(_, query):
|
|||
f"https://yasirapi.eu.org/imdb-page?url={url}",
|
||||
headers={"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.1.17 (KHTML, like Gecko) Version/7.1 Safari/537.85.10"},
|
||||
)
|
||||
r_json = resp.json()
|
||||
r_json = resp.json().get("result")
|
||||
res_str = ""
|
||||
if judul := r_json.get("title"):
|
||||
res_str += f"<b>📹 Judul:</b> {judul}\n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue