Update imdb_search.py

Signed-off-by: Yasir Aris M <git@yasir.id>
This commit is contained in:
Yasir Aris M 2025-02-14 21:52:26 +07:00 committed by GitHub
parent 15a216f83e
commit f61776fb53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,7 +48,7 @@ async def libretranslate(text, source="auto", target="id"):
"format": "text", "format": "text",
"alternatives": 3 "alternatives": 3
} }
response = await fetch.post(url, json=payload) response = await fetch.post("https://translate.yasirweb.eu.org/translate", json=payload)
return response.json()["translatedText"] return response.json()["translatedText"]
# IMDB Choose Language # IMDB Choose Language