mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-07 12:24:51 +00:00
Compare commits
1 commit
f31fd5f212
...
9264ec2e7b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9264ec2e7b |
1 changed files with 2 additions and 3 deletions
|
|
@ -122,9 +122,9 @@ async def getDatalk21(msg, kueri, CurrentPage, strings):
|
|||
with contextlib.redirect_stdout(sys.stderr):
|
||||
try:
|
||||
if kueri:
|
||||
lk21json = await fetch.get(f"{web['yasirapi']}/lk21?q={kueri}")
|
||||
lk21json = await fetch.get(f"{web['yasirapi_v2']}/lk21?q={kueri}")
|
||||
else:
|
||||
lk21json = await fetch.get(f"{web['yasirapi']}/lk21")
|
||||
lk21json = await fetch.get(f"{web['yasirapi_v2']}/lk21")
|
||||
lk21json.raise_for_status()
|
||||
except httpx.HTTPError as exc:
|
||||
await msg.edit_msg(
|
||||
|
|
@ -2295,4 +2295,3 @@ async def muviku_scrap(_, message, strings):
|
|||
await message.reply(f"ERROR: {str(e)}")
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue