mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Signed-off-by: Yasir Aris M <git@yasir.id>
This commit is contained in:
parent
55fb0a75bf
commit
0775879d10
1 changed files with 3 additions and 2 deletions
|
|
@ -122,9 +122,9 @@ async def getDatalk21(msg, kueri, CurrentPage, strings):
|
||||||
with contextlib.redirect_stdout(sys.stderr):
|
with contextlib.redirect_stdout(sys.stderr):
|
||||||
try:
|
try:
|
||||||
if kueri:
|
if kueri:
|
||||||
lk21json = await fetch.get(f"{web['yasirapi_v2']}/lk21?q={kueri}")
|
lk21json = await fetch.get(f"{web['yasirapi']}/lk21?q={kueri}")
|
||||||
else:
|
else:
|
||||||
lk21json = await fetch.get(f"{web['yasirapi_v2']}/lk21")
|
lk21json = await fetch.get(f"{web['yasirapi']}/lk21")
|
||||||
lk21json.raise_for_status()
|
lk21json.raise_for_status()
|
||||||
except httpx.HTTPError as exc:
|
except httpx.HTTPError as exc:
|
||||||
await msg.edit_msg(
|
await msg.edit_msg(
|
||||||
|
|
@ -2295,3 +2295,4 @@ async def muviku_scrap(_, message, strings):
|
||||||
await message.reply(f"ERROR: {str(e)}")
|
await message.reply(f"ERROR: {str(e)}")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue