mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-03 19:14:51 +00:00
tes
This commit is contained in:
parent
bfe47aa324
commit
31af4fc83c
1 changed files with 3 additions and 3 deletions
|
|
@ -219,8 +219,8 @@ def html_builder(title: str, text: str) -> str:
|
||||||
|
|
||||||
async def mediainfo_paste(text: str, title: str) -> str:
|
async def mediainfo_paste(text: str, title: str) -> str:
|
||||||
html_content = html_builder(title, text)
|
html_content = html_builder(title, text)
|
||||||
URL = "https://mediainfo-1-y5870653.deta.app/api"
|
URL = "https://yasirr.eu.org/mediainfo"
|
||||||
response = await fetch.post(URL, json={"content": html_content})
|
response = await fetch.post(URL, data={'text': html_content, "title": title})
|
||||||
return (
|
return (
|
||||||
f"https://mediainfo-1-y5870653.deta.app/{json.loads(response.content)['key']}"
|
f"https://yasirr.eu.org/mediainfo-{json.loads(response.content)['saved_id']}"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue