mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-07 12:24:51 +00:00
Compare commits
2 commits
9264ec2e7b
...
f31fd5f212
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f31fd5f212 | ||
|
|
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